<style lang="less">
  .card_style {
    height: 100%;
    width: 100%;
    overflow: hidden;
    .ivu-card-body {
      padding: 0px;
    }
  }
  .page_style {
    margin-top: 10px;
    text-align: right;
  }
  .bench_search {
    margin-bottom: 10px;
  }
  .nopadding .ivu-table-cell {
    padding: 0px 0px;
  }
  .item1{
    height: 42px;
    line-height: 40px;
  }
  .marginR2 {
    margin-right: 2%;
  }
  .fontsize20 {
    font-size: 20px;
  }
  .fontTitle {
    font-size: 20px;
    height: 52px;
    text-align: right;
    padding-top: 16px;
    // vertical-align: bottom;
  }
  .fontContent {
    font-size: 20px;
    height: 52px;
    text-align: left;
    padding-top: 16px;
    color: #dc9387;
    // vertical-align: bottom;
  }
  .countNum {
    font-size: 35px;
    color: #dc9387;
  }
  .new-btn-sty {
    margin-right: 5px;
    color: #fff;
    background-color: #235CA7;
    border-color: #235CA7;
    font-weight: 500;
  }
  .new-btn-sty1 {
    margin-right: 5px;
    color: #fff;
    background-color: #598ED1;
    border-color: #598ED1;
    font-weight: 500;
  }
  .text-overflow{
    width:300px; /* 超过宽度就显示... */
    text-overflow: ellipsis; /* 显示... */
    overflow: hidden; /* 隐藏文字 */
    white-space: nowrap; /* 不换行 */
    cursor: pointer; /* hover显示手形 */
  }
  .search-info-style{
    margin-top: 10px;
  }
  .table-input{
    border: #312e2e solid 1px;
    border-left: 0px;
    border-right: 0px;
    line-height: 50px;
  }
  .table-col{
    border: #312e2e solid 1px;
    line-height: 50px;
  }
</style>
<template xmlns:v-slot="http://www.w3.org/1999/XSL/Transform">
  <div>
<!--    <Export ref="export"></Export>-->
    <Row class="search-info-style">
      <Col span="6">
        <span style="">姓&#12288;&#12288;名：</span>
        <Input style="width: 70%;" v-model="searchInfo.CPBI003" />
      </Col>
      <Col span="6">
        <span style="">性&#12288;&#12288;别：</span>
        <Select v-model="searchInfo.CPBI005" clearable filterable transfer="" style="width: 70%;">
          <Option :value="'0'" >男</Option>
          <Option :value="'1'" >女</Option>
        </Select>
      </Col>
      <Col span="6">
        <span style="">年&#12288;&#12288;龄：</span>
        <Input style="width: 32%;" v-model="searchInfo.start_age" />&#160;~&#160;
        <Input style="width: 32%;" v-model="searchInfo.end_age" />
      </Col>
      <Col span="6">
        <span style="">超&#12288;&#12288;龄：</span>
        <Select v-model="searchInfo.isoverage" clearable filterable transfer="" style="width: 70%;">
          <Option :value="'Y'" >是</Option>
          <Option :value="'N'" >否</Option>
        </Select>
      </Col>
    </Row>
    <Row class="search-info-style" >
      <Col span="6">
        <span>政治面貌：</span>
        <Select v-model="searchInfo.CPBI008" filterable transfer="" style="width: 70%;">
          <Option :value="item.TYPECODE" v-for="item in dictList[0]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
        </Select>
      </Col>
      <Col span="6" v-if="this.$store.state.user.severUserInfo.company_grade === '2'">
        <span>所在区县：</span>
        <Select v-model="searchInfo.CPWI023" filterable transfer="" clearable @on-change="getMailList2(4,searchInfo.CPWI023)" style="width:70%">
          <Option :value="item.code" v-for="item in mailList1" v-bind:key="item.code">{{item.name}}</Option>
        </Select>
<!--        <Select v-model="searchInfo.CPWI023" filterable transfer="" style="width: 70%;" @on-change="getRegionList(searchInfo.CPWI023, 1)">-->
<!--          <Option :value="item.CPSR001" v-for="item in reginList[0]" v-bind:key="item.CPSR001">{{item.CPSR002}}</Option>-->
<!--        </Select>-->
      </Col>
      <Col span="6" v-if="this.$store.state.user.severUserInfo.company_grade === '2' || this.$store.state.user.severUserInfo.company_grade === '3'">
        <span>所在街道：</span>
        <Select v-model="searchInfo.CPWI024" filterable transfer="" clearable @on-change="getMailList2(5, searchInfo.CPWI024)" style="width:70%">
          <Option :value="item.code" v-for="item in mailList2" v-bind:key="item.code">{{item.name}}</Option>
        </Select>
<!--        <Select v-model="searchInfo.CPWI024" filterable transfer="" style="width: 70%;" @on-change="getRegionList(searchInfo.CPWI024, 2)">-->
<!--          <Option :value="item.CPSR001" v-for="item in reginList[1]" v-bind:key="item.CPSR001">{{item.CPSR002}}</Option>-->
<!--        </Select>-->
      </Col>
      <Col span="6">
        <span>所在社区：</span>
        <Select v-model="searchInfo.CPWI025" filterable transfer="" clearable style="width:70%">
          <Option :value="item.code" v-for="item in mailList3" v-bind:key="item.code">{{item.name}}</Option>
        </Select>
<!--        <Select v-model="searchInfo.CPWI025" filterable transfer="" style="width: 70%;" >-->
<!--          <Option :value="item.CPSR001" v-for="item in reginList[2]" v-bind:key="item.CPSR001">{{item.CPSR002}}</Option>-->
<!--        </Select>-->
      </Col>
    </Row>
    <Row class="search-info-style" >
      <Col span="6">
        <span style="">身份证号：</span>
        <Input style="width: 70%;" v-model="searchInfo.CPBI002" />
      </Col>
      <Col span="6">
        <span style="">联系方式：</span>
        <Input style="width: 70%;" v-model="searchInfo.CPBI013" />
      </Col>
      <Col span="6">
        <span>任职情况：</span>
        <Select v-model="searchInfo.CPWI006" filterable clearable transfer="" style="width: 70%;">
          <Option :value="item.TYPECODE" v-for="item in dictList[1]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
        </Select>
      </Col>
      <Col span="6">
        <span>社工状态：</span>
        <Select v-model="searchInfo.CPBI018" clearable filterable transfer="" style="width: 70%;">
          <Option :value="item.TYPECODE" v-for="item in dictList[2]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
        </Select>
      </Col>
    </Row>
<!--    <Row class="search-info-style" >-->
<!--      <Col span="6">-->
<!--        <span style="">财政配比：</span>-->
<!--        <Select v-model="searchInfo.mixture_ratio" clearable filterable transfer="" style="width: 70%;">-->
<!--          <Option :value="'0'" >市区级</Option>-->
<!--          <Option :value="'1'" >区级</Option>-->
<!--        </Select>-->
<!--      </Col>-->
<!--      <Col span="6">-->
<!--        <span style="">经历届次：</span>-->
<!--        <Select v-model="searchInfo.session" clearable filterable transfer="" style="width: 70%;">-->
<!--          <Option :value="item.year" v-for="item in sessionList" v-bind:key="item.id">{{item.year}}</Option>-->
<!--        </Select>-->
<!--      </Col>-->
<!--    </Row>-->
    <Row class="search-info-style">
      <Col span="20">
        <Button class="new-btn-sty" @click="showPerson(1)" >
          <Icon type="success" /> 查看
        </Button>
        <Button class="new-btn-sty" :loading="Excelloading" @click="importExcel()">
          <Icon type="success" /> 导出
        </Button>
<!--        <Button type="primary" icon="md-add-circle" @click="exportStart">导出</Button>-->
        <Button class="new-btn-sty" @click="addModal = true; familyInfoList = []; assessmentInfoList = []; sessionInfoList = [];
          addinfo = {}; fileUrlList = []; fileUrlList2 = []; fileUrlList3 = []" v-if="this.$store.state.user.severUserInfo.company_grade === '2'">
          <Icon type="success" /> 录入
        </Button>
        <Button class="new-btn-sty" @click="showPerson(2)">
          <Icon type="success" /> 编辑
        </Button>
        <Button v-if="draft" class="new-btn-sty" @click="getDraft()">
          <Icon type="success" /> 保存尚未提交
        </Button>
      </Col>
      <Col span="4">
        <Button class="new-btn-sty" @click="init">
          <Icon type="ios-search" /> 查询
        </Button>
        <Button class="new-btn-sty" @click="searchDatawork">
          <Icon type="success" /> 重置
        </Button>
      </Col>
    </Row>
    <Row>
      <Col span="24" >
        <Table border  :columns="columns" :data="datalist" ref="personSelection" @on-select="selectTable" style="margin-top:10px;" @on-selection-change="personSelection()"></Table>
        <Row v-if="searchInfo.loading1 == true">
          <Col class="demo-spin-col" span="8" offset="8">
            <Spin fix>
              <Icon type="ios-loading" size=18 class="demo-spin-icon-load"></Icon>
              <div>数据正在加载</div>
            </Spin>
          </Col>
        </Row>
      </Col>
    </Row>
    <Page :total="searchInfo.totalnum" class="page_style" :current="searchInfo.currentPageNo"
          :page-size="searchInfo.currentPageSize" @on-change="changePageNo" show-total show-elevator show-sizer @on-page-size-change="changePagesize"/>
    <Modal
      v-model="addModal"
      title="录入"
      width="100%"
      @on-ok="addOk"
      ok-text="提交"
      cancel-text="保存"
      @on-cancel="addDraft">
      <div style="width: 100%;">
        <Row class="bench_search" >
          <Col span="5" align="center" >姓名<span style="color: red">(必填)</span></Col>
          <Col span="6">
            <Input v-model="addinfo.CPBI003" type="text" style="width: 52.5%"></Input>
          </Col>
          <Col span="4" align="center" >身份证号<span style="color: red">(必填)</span></Col>
          <Col span="9">
            <Input v-model="addinfo.CPBI002" type="text" style="width: 35%"></Input>
          </Col>
        </Row>
        <Row class="bench_search">
          <Col span="5" align="center">性别<span style="color: red">(必填)</span></Col>
          <Col span="6" >
            <Select v-model="addinfo.CPBI005" filterable transfer="" style="width: 52.5%;">
              <Option :value="'0'" >男</Option>
              <Option :value="'1'" >女</Option>
            </Select>
          </Col>
          <Col span="4" align="center">婚姻状况<span style="color: red">(必填)</span></Col>
          <Col span="9" >
            <Select v-model="addinfo.CPBI006" filterable transfer="" style="width: 35%;">
              <Option :value="item.TYPECODE" v-for="item in dictList[3]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
            </Select>
          </Col>
        </Row>
        <Row class="bench_search">
          <Col span="5" align="center">民族<span style="color: red">(必填)</span></Col>
          <Col span="6" >
            <Select v-model="addinfo.CPBI007" filterable transfer="" style="width: 52.5%;">
              <Option :value="item.TYPECODE" v-for="item in dictList[4]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
            </Select>
          </Col>
          <Col span="4" align="center">政治面貌<span style="color: red">(必填)</span></Col>
          <Col span="9" >
            <Select v-model="addinfo.CPBI008" filterable transfer="" style="width: 35%;">
              <Option :value="item.TYPECODE" v-for="item in dictList[0]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
            </Select>
          </Col>
        </Row>
        <Row class="bench_search">
          <Col span="5" align="center">是否退役士兵定向<span style="color: red">(必填)</span></Col>
          <Col span="6" >
            <Select v-model="addinfo.CPBI009" filterable transfer="" style="width: 52.5%;">
              <Option :value="'Y'" >是</Option>
              <Option :value="'N'" >否</Option>
            </Select>
          </Col>
          <Col span="4" align="center">是否军嫂定向<span style="color: red">(必填)</span></Col>
          <Col span="9" >
            <Select v-model="addinfo.CPBI010" filterable transfer="" style="width: 35%;">
              <Option :value="'Y'" >是</Option>
              <Option :value="'N'" >否</Option>
            </Select>
          </Col>
        </Row>
        <Row class="bench_search">
          <Col span="5" align="center">是否为低保或低保边缘户子女<span style="color: red">(必填)</span></Col>
          <Col span="6" >
            <Select v-model="addinfo.CPBI011" filterable transfer="" style="width: 52.5%;">
              <Option :value="'Y'" >是</Option>
              <Option :value="'N'" >否</Option>
            </Select>
          </Col>
          <Col span="4" align="center">户籍地址<span style="color: red">(必填)</span></Col>
          <Col span="9" >
            <Input v-model="addinfo.CPBI012" type="text" style="width: 35%"></Input>
          </Col>
        </Row>
        <Row class="bench_search">
          <Col span="5" align="center">联系方式<span style="color: red">(必填)</span></Col>
          <Col span="6" >
            <Input v-model="addinfo.CPBI013" type="text" style="width: 52.5%"></Input>
          </Col>
          <Col span="4" align="center">家庭住址<span style="color: red">(必填)</span></Col>
          <Col span="9" >
            <Input v-model="addinfo.CPBI014" type="text" style="width: 35%"></Input>
          </Col>
        </Row>
        <Row class="bench_search">
          <Col span="5" align="center">免冠照片<span style="color: red">(必填)</span></Col>
          <Col span="4" >
            <Upload v-if="addinfo.files === undefined || fileUrlList.length < 0" multiple type="drag" action="http://120.27.63.37:38081/api/ac/file/fileCommonService/upLoadFiles" :before-upload="beforeUpload" style="">
              <!-- <Button icon="ios-cloud-upload-outline">上传附件</Button>
              <span style="margin-left: 100px">请上传小于100M的文件（.jpg/.png/.ico/.pdf/.doc/.docx/.excel）</span> -->
              <div style="padding: 40px 50px">
                <Icon type="ios-cloud-upload" size="52" style="color: #3399ff"></Icon>
                <p>免冠照片, 最大为2M,最大像素为200 * 300(.jpg/.png)</p>
              </div>
            </Upload>
            <div v-if="addinfo.files || fileUrlList.length > 0">
              <Row :gutter="20">
                <Col span="16">
                  <div v-for="(item, index) in fileUrlList" :key="'index3'+index" >
                    <img :src="item" :title="item" width="150px" height="200px" style="color: #457eca; font-size: 14px;"></img>
                    <button style="float: right;position: absolute;" @click="addIMG1">重新上传</button>
                  </div>
                </Col>
              </Row>
            </div>
          </Col>
          <Col span="4" align="center">身份证正反上传<span style="color: red">(必填)</span></Col>
          <Col span="9" >
            <Upload v-if="addinfo.files2 === undefined || fileUrlList2.length < 0" multiple type="drag" action="http://120.27.63.37:38081/api/ac/file/fileCommonService/upLoadFiles" :before-upload="beforeUpload2" style="width: 250px;float: left">
              <!-- <Button icon="ios-cloud-upload-outline">上传附件</Button>
              <span style="margin-left: 100px">请上传小于100M的文件（.jpg/.png/.ico/.pdf/.doc/.docx/.excel）</span> -->
              <div style="padding: 40px 40px;">
                <Icon type="ios-cloud-upload" size="52" style="color: #3399ff"></Icon>
                <p>身份证正面照片, 最大为2M(.jpg/.png)</p>
              </div>
            </Upload>
            <div v-if="addinfo.files2 || fileUrlList2.length > 0" style="float: left">
              <Row :gutter="20">
                <Col span="24">
                  <div v-for="(item, index) in fileUrlList2" :key="index" style="float: left; margin-right: 5px">
                    <img :src="item" :title="item" width="250px" height="170px" style="float: left;"></img>
                    <button @click="addIMG2">重新上传</button>
                  </div>
                </Col>
              </Row>
            </div>
            <!--反面-->
            <Upload v-if="addinfo.files3 === undefined || fileUrlList3.length < 0" multiple type="drag" action="http://120.27.63.37:38081/api/ac/file/fileCommonService/upLoadFiles" :before-upload="beforeUpload3" style="width: 250px;float: left">
              <!-- <Button icon="ios-cloud-upload-outline">上传附件</Button>
              <span style="margin-left: 100px">请上传小于100M的文件（.jpg/.png/.ico/.pdf/.doc/.docx/.excel）</span> -->
              <div style="padding: 40px 40px;">
                <Icon type="ios-cloud-upload" size="52" style="color: #3399ff"></Icon>
                <p>身份证反面照片, 最大为2M(.jpg/.png)</p>
              </div>
            </Upload>
            <div v-if="addinfo.files3 || fileUrlList3.length > 0" style="float: left">
              <Row :gutter="20">
                <Col span="24">
                  <div v-for="(item, index) in fileUrlList3" :key="index + '0'" style="float: left;margin-left: 10px">
                    <img :src="item" :title="item" width="250px" height="170px" style="float: left;"></img>
                    <button @click="addIMG3">重新上传</button>
                  </div>
                </Col>
              </Row>
            </div>
            <!-- v-model="addinfo.CPBI016"-->
            <!--<img src="/" width="270px" height="170px">-->
            <!--v-model="addinfo.CPBI019"-->
            <!--<img src="" width="270px" height="170px" >-->
          </Col>
        </Row>
<!--        <Row class="bench_search">-->
<!--          <Col span="5" align="center">在职状态</Col>-->
<!--          <Col span="6" >-->
<!--            <Select v-model="addinfo.CPBI017" filterable transfer="" style="width: 52.5%;">-->
<!--              <Option :value="item.TYPECODE" v-for="item in dictList[5]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>-->
<!--            </Select>-->
<!--          </Col>-->
<!--          <Col span="4" align="center">审批状态</Col>-->
<!--          <Col span="9" >-->
<!--            <Select v-model="addinfo.CPBI018" filterable transfer="" style="width: 35%;">-->
<!--              <Option :value="item.TYPECODE" v-for="item in dictList[6]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>-->
<!--            </Select>-->
<!--          </Col>-->
<!--        </Row>-->
<!--        <Row class="bench_search" >-->
<!--          <Col span="5" align="center" >银行卡号<span style="color: red">(必填)</span></Col>-->
<!--          <Col span="6">-->
<!--            <Input v-model="addinfo.bankcardno" type="text" style="width: 52.5%"></Input>-->
<!--          </Col>-->
<!--          <Col span="4" align="center" >应发工资<span style="color: red">(必填)</span></Col>-->
<!--          <Col span="9">-->
<!--            <Input v-model="addinfo.salary" type="text" style="width: 35%"></Input>-->
<!--          </Col>-->
<!--        </Row>-->
<!--        <Row class="bench_search" >-->
<!--          <Col span="5" align="center" >是否兼职<span style="color: red">(必填)</span></Col>-->
<!--          <Col span="6">-->
<!--            <Select v-model="addinfo.part_time_job" filterable transfer="" style="width: 52.5%;">-->
<!--              <Option :value="1">是</Option>-->
<!--              <Option :value="0">否</Option>-->
<!--            </Select>-->
<!--          </Col>-->
<!--          <Col span="4" align="center" >是否兼职收入<span style="color: red">(必填)</span></Col>-->
<!--          <Col span="9">-->
<!--            <Select v-model="addinfo.part_time_income" filterable transfer="" style="width: 35%;">-->
<!--              <Option :value="1">是</Option>-->
<!--              <Option :value="0">否</Option>-->
<!--            </Select>-->
<!--          </Col>-->
<!--        </Row>-->
      </div>
      <div style="width: 100%;">
        <Tabs type="card">
          <TabPane label="教育信息">
            <Row class="bench_search" >
              <Col span="5" align="center" >毕业院校<span style="color: red">(必填)</span></Col>
              <Col span="7">
                <Input v-model="addinfo.CPEI002" type="text" style="width: 35%"></Input>
              </Col>
              <Col span="4" align="center" >所学专业<span style="color: red">(必填)</span></Col>
              <Col span="8">
                <Input v-model="addinfo.CPEI003" type="text" style="width: 35%"></Input>
              </Col>
            </Row>
            <Row class="bench_search">
              <Col span="5" align="center">最高学历<span style="color: red">(必填)</span></Col>
              <Col span="7" >
                <Select v-model="addinfo.CPEI004" filterable transfer="" style="width: 35%;">
                  <Option :value="item.TYPECODE" v-for="item in dictList[7]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                </Select>
              </Col>
              <Col span="4" align="center">学位<span style="color: red">(必填)</span></Col>
              <Col span="8" >
                <Select v-model="addinfo.CPEI005" filterable transfer="" style="width: 35%;">
                  <Option :value="item.TYPECODE" v-for="item in dictList[8]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                </Select>
              </Col>
            </Row>
            <Row class="bench_search">
              <Col span="5" align="center">毕业时间<span style="color: red">(必填)</span></Col>
              <Col span="7" >
                <DatePicker type="date"  v-model="addinfo.CPEI006" :transfer=true style="width: 35%;"></DatePicker>
              </Col>
            </Row>
          </TabPane>
          <TabPane label="亲属信息">
            <Row>
              <Col span="1">
                <Button type="primary" @click="addFamily">添加</Button>
              </Col>
              <Col span="1">
                <Button type="primary" @click="delFamily">删除</Button>
              </Col>
            </Row>
            <Table border :columns="familyInfoTable" :data="familyInfoList" ref="familySelection"  @on-selection-change="familySelection()"  style="margin-top: 10px;">
              <template  slot-scope="{ row }" slot="CPFI002">
                <Input v-model="row.CPFI002" type="text"></Input>
              </template>
              <template slot-scope="{ row }" slot="CPFI003">
                <Select v-model="row.CPFI003" filterable transfer="" >
                  <Option :value="item.TYPECODE" v-for="item in dictList[9]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                </Select>
              </template>
              <template slot-scope="{ row }" slot="CPFI004">
                <Input v-model="row.CPFI004" type="text" ></Input>
              </template>
              <template slot-scope="{ row }" slot="CPFI005">
                <Input v-model="row.CPFI005" type="text" ></Input>
              </template>
              <template slot-scope="{ row }" slot="CPFI006">
                <Select v-model="row.CPFI006" filterable transfer="" >
                  <Option :value="item.TYPECODE" v-for="item in dictList[0]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                </Select>
              </template>
              <template slot-scope="{ row, index }" slot="action1">
                <Button type="primary" @click="confirm(row, index)">确认</Button>
              </template>
            </Table>
          </TabPane>
          <TabPane label="职业信息">
            <div style="overflow-y:auto;height: 200px">
              <Row class="bench_search" >
                <Col span="5" align="center" >社会工作师职业资格:</Col>
                <Col span="6">
                  <Select v-model="addinfo.CPWI002" filterable transfer="" style="width: 52.5%">
                    <Option :value="item.TYPECODE" v-for="item in dictList[10]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                  </Select>
                </Col>
                <Col span="4" align="center" >社会工作师职业资格取得时间:</Col>
                <Col span="9">
                  <DatePicker type="date"  v-model="addinfo.CPWI003" :transfer=true style="width: 35%;"></DatePicker>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >所属市区:<span style="color: red">(必填)</span></Col>
                <Col span="6">
                  <Select v-model="addinfo.CPWI023" filterable transfer="" clearable @on-change="getMailList2(4,addinfo.CPWI023)" style="width:52.5%">
                    <Option :value="item.code" v-for="item in mailList1" v-bind:key="item.code">{{item.name}}</Option>
                  </Select>
<!--                  <Select v-model="addinfo.CPWI023" filterable transfer="" style="width: 52.5%" @on-change="getRegionList(addinfo.CPWI023, 1)">-->
<!--                    <Option :value="item.CPSR001" v-for="item in reginList[0]" v-bind:key="item.CPSR001">{{item.CPSR002}}</Option>-->
<!--                  </Select>-->
                </Col>
                <Col span="4" align="center" >街道:</Col>
                <Col span="9">
                  <Select v-model="addinfo.CPWI024" filterable transfer="" clearable @on-change="getMailList2(5, addinfo.CPWI024)" style="width:35%">
                    <Option :value="item.code" v-for="item in mailList2" v-bind:key="item.code">{{item.name}}</Option>
                  </Select>
<!--                  <Select v-model="addinfo.CPWI024" filterable transfer="" style="width: 35%" @on-change="getRegionList(addinfo.CPWI024, 2)">-->
<!--                    <Option :value="item.CPSR001" v-for="item in reginList[1]" v-bind:key="item.CPSR001">{{item.CPSR002}}</Option>-->
<!--                  </Select>-->
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >社区:</Col>
                <Col span="6">
                  <Select v-model="addinfo.CPWI025" filterable transfer="" clearable style="width:52.5%">
                    <Option :value="item.code" v-for="item in mailList3" v-bind:key="item.code">{{item.name}}</Option>
                  </Select>
<!--                  <Select v-model="addinfo.CPWI025" filterable transfer="" style="width: 52.5%">-->
<!--                    <Option :value="item.CPSR001" v-for="item in reginList[2]" v-bind:key="item.CPSR001">{{item.CPSR002}}</Option>-->
<!--                  </Select>-->
                </Col>
                <Col span="4" align="center" >入职时间:<span style="color: red">(必填)</span></Col>
                <Col span="9">
                  <DatePicker type="date"  v-model="addinfo.CPWI001" :transfer=true style="width: 35%;"></DatePicker>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >任职情况:<span style="color: red">(必填)</span></Col>
                <Col span="6">
                  <Select v-model="addinfo.CPWI006" filterable transfer="" style="width: 52.5%">
                    <Option :value="item.TYPECODE" v-for="item in dictList[1]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                  </Select>
                </Col>
                <Col span="4" align="center" >任职时间:<span style="color: red">(必填)</span></Col>
                <Col span="9">
                  <DatePicker type="date"  v-model="addinfo.CPWI007" :transfer=true style="width: 35%;"></DatePicker>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >是否党组织成员:<span style="color: red">(必填)</span></Col>
                <Col span="6">
                  <Select v-model="addinfo.CPWI011" filterable transfer="" style="width: 52.5%">
                    <Option :value="'Y'" >是</Option>
                    <Option :value="'N'" >否</Option>
                  </Select>
                </Col>
                <Col span="4" align="center" >是否居委会成员:</Col>
                <Col span="9">
                  <Select v-model="addinfo.CPWI012" filterable transfer="" style="width: 35%">
                    <Option :value="'Y'" >是</Option>
                    <Option :value="'N'" >否</Option>
                  </Select>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >笔试成绩:</Col>
                <Col span="6">
                  <Input v-model="addinfo.CPWI008" type="text" style="width: 52.5%"></Input>
                </Col>
                <Col span="4" align="center" >面试成绩:</Col>
                <Col span="9">
                  <Input v-model="addinfo.CPWI009" type="text" style="width: 35%"></Input>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >其他职业资格:</Col>
                <Col span="6">
                  <Input v-model="addinfo.CPWI004" type="text" style="width: 52.5%"></Input>
                </Col>
                <Col span="4" align="center" >继续教育情况:</Col>
                <Col span="9">
                  <Input v-model="addinfo.CPWI015" type="text" style="width: 35%"></Input>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >是否取得全科社工资格:<span style="color: red">(必填)</span></Col>
                <Col span="6">
                  <Select v-model="addinfo.CPWI016" filterable transfer="" style="width: 52.5%">
                    <Option :value="'Y'" >是</Option>
                    <Option :value="'N'" >否</Option>
                  </Select>
                </Col>
                <Col span="4" align="center" >全科社工资格取得时间:<span style="color: red">(必填)</span></Col>
                <Col span="9">
                  <DatePicker type="date"  v-model="addinfo.CPWI005" :transfer=true style="width: 35%;"></DatePicker>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >社会保险缴费记录:</Col>
                <Col span="6">
                  <CheckboxGroup v-model="addinfo.CPWI017">
                    <Checkbox label="01">养老保险</Checkbox>
                    <Checkbox label="02">医疗保险</Checkbox>
                    <Checkbox label="03">失业保险</Checkbox>
                    <Checkbox label="04">工伤保险</Checkbox>
                    <Checkbox label="05">生育保险</Checkbox>
                    <Checkbox label="06">住房公积金</Checkbox>
                  </CheckboxGroup>
                </Col>
                <Col span="4" align="center" >初次缴纳时间:</Col>
                <Col span="9">
                  <DatePicker type="date"  v-model="addinfo.CPWI018" :transfer=true style="width: 35%;"></DatePicker>
                </Col>
              </Row>
              <Row class="bench_search">
                <Col span="5" align="center" >是否有财政负担保险:<span style="color: red">(必填)</span></Col>
                <Col span="6">
                  <Select v-model="addinfo.financial_burden" filterable transfer="" style="width: 52.5%">
                    <Option :value="'1'" >是</Option>
                    <Option :value="'0'" >否</Option>
                  </Select>
                </Col>

                <Col span="4" align="center" >其他财政负担保险:<span style="color: red"></span></Col>
                <Col span="9">
                  <Input v-model="addinfo.other_financial_burden" type="text" style="width: 35%"></Input>
                  <!--                  <Input disabled v-model="showinfo.other_financial_burden"></Input>-->
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >是否连续缴纳:<span style="color: red">(必填)</span></Col>
                <Col span="6">
                  <Select v-model="addinfo.CPWI019" filterable transfer="" style="width: 52.5%">
                    <Option :value="'Y'" >是</Option>
                    <Option :value="'N'" >否</Option>
                  </Select>
                </Col>
                <Col span="4" align="center" >接续缴纳时间:</Col>
                <Col span="9">
                  <DatePicker type="date"  v-model="addinfo.CPWI020" :transfer=true style="width: 35%;"></DatePicker>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >培训记录:</Col>
                <Col span="6">
                  <Select v-model="addinfo.CPWI014" filterable transfer="" style="width: 52.5%">
                    <Option :value="item.TYPECODE" v-for="item in dictList[11]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                  </Select>
                </Col>
                <Col span="4" align="center" >综合评定:</Col>
                <Col span="9">
                  <Select v-model="addinfo.CPWI013" filterable transfer="" style="width: 35%">
                    <Option :value="'10'" >优秀</Option>
                    <Option :value="'20'" >称职</Option>
                    <Option :value="'40'" >不称职</Option>
                  </Select>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >离职时间:</Col>
                <Col span="6">
                  <DatePicker type="date"  v-model="addinfo.CPWI021" :transfer=true style="width: 52.5%;"></DatePicker>
                </Col>
                <Col span="4" align="center" >人员类型:</Col>
                <Col span="9">
                  <CheckboxGroup v-model="addinfo.personnel_type">
                    <Checkbox label="1">村(社区)党组织成员</Checkbox>
                    <Checkbox label="2">村(居)委员会成员</Checkbox>
                    <Checkbox label="3">村(社区)专职人员</Checkbox>
                    <Checkbox label="4">乡镇(街道)派驻人员</Checkbox>
                    <Checkbox label="5">社区网格员</Checkbox>
                    <Checkbox label="6">社区公益岗位</Checkbox>
                    <Checkbox label="7">村(居)务监督委员会成员</Checkbox>
                    <Checkbox label="8">村(居)民小组长</Checkbox>
                    <Checkbox label="9">其他人员</Checkbox>
                  </CheckboxGroup>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >是否返聘:</Col>
                <Col span="6">
                  <Select v-model="addinfo.back" filterable transfer="" style="width: 52.5%">
                    <Option :value="1" >是</Option>
                    <Option :value="0" >否</Option>
                  </Select>
                </Col>
                <Col span="4" align="center" >返聘原因:</Col>
                <Col span="9">
                  <Input v-model="addinfo.back_cause" type="text" style="width: 35%"></Input>
                </Col>
              </Row>
            </div>
          </TabPane>
          <TabPane label="考核信息">
            <Row>
              <Col span="1">
                <Button type="primary" @click="addAssessment">添加</Button>
              </Col>
              <Col span="1">
                <Button type="primary" @click="delAssessment">删除</Button>
              </Col>
            </Row>
            <Table width="850" border :columns="assessmentInfoTable" :data="assessmentInfoList" ref="assessmentSelection"  @on-selection-change="assessmentSelection()"  style="margin-top: 10px;">
              <template  slot-scope="{ row }" slot="CPKI001">
                <Select v-model="row.CPKI001" filterable transfer="" >
                  <Option :value="item.TYPECODE" v-for="item in dictList[12]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                </Select>
              </template>
              <template slot-scope="{ row }" slot="CPKI002">
                <DatePicker type="date"  v-model="row.CPKI002" :transfer=true ></DatePicker>
              </template>
              <template slot-scope="{ row }" slot="CPKI003">
                <Select v-model="row.CPKI003" filterable transfer="" >
                  <Option :value="item.TYPECODE" v-for="item in dictList[13]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                </Select>
              </template>
              <template slot-scope="{ row, index }" slot="action1">
                <Button type="primary" @click="confirm2(row, index)">确认</Button>
              </template>
            </Table>
          </TabPane>
<!--          <TabPane label="经历届次">-->
<!--            <Row>-->
<!--              <Col span="1">-->
<!--                <Button type="primary" @click="addAssessment1">添加</Button>-->
<!--              </Col>-->
<!--              <Col span="1">-->
<!--                <Button type="primary" @click="delAssessment1">删除</Button>-->
<!--              </Col>-->
<!--            </Row>-->
<!--            <Table width="850" border :columns="sessionInfoTable" :data="sessionInfoList" ref="sessionSelection2"  @on-selection-change="sessionSelection2()"  style="margin-top: 10px;">-->
<!--              <template  slot-scope="{ row }" slot="year">-->
<!--                <Select v-model="row.id" filterable transfer="" >-->
<!--                  <Option :value="item.id" v-for="item in sessionList" v-bind:key="item.id">{{item.year}}</Option>-->
<!--                </Select>-->
<!--              </template>-->
<!--              <template slot-scope="{ row, index }" slot="action1">-->
<!--                <Button type="primary" @click="confirm3(row, index)">确认</Button>-->
<!--              </template>-->
<!--            </Table>-->
<!--          </TabPane>-->
          <TabPane label="劳动合同">
            <div style="overflow-y:auto;height: 200px">
              <Row class="bench_search" >
                <Col span="5" align="center" >劳动合同:</Col>
                <Col span="6">
                  <Select v-model="addinfo.labor_contract" filterable transfer="" style="width: 35%">
                    <Option :value="'0'" >否</Option>
                    <Option :value="'1'" >是</Option>
                  </Select>
                </Col>
                <Col span="4" align="center" >劳动合同甲方:</Col>
                <Col span="9">
                  <Input v-model="addinfo.first_party" type="text" style="width: 35%"></Input>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >其他甲方:</Col>
                <Col span="6">
                  <Input v-model="addinfo.other_first_party" type="text" style="width: 35%"></Input>
                </Col>
                <Col span="4" align="center" >劳动关系证明:</Col>
                <Col span="9">
                  <Input v-model="addinfo.prove" type="text" style="width: 35%"></Input>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >其他证明:</Col>
                <Col span="6">
                  <Input v-model="addinfo.other_prove" type="text" style="width: 35%"></Input>
                </Col>
              </Row>
            </div>
          </TabPane>
        </Tabs>
      </div>
    </Modal>
    <Modal
      v-model="updateModal"
      title="编辑"
        width="100%"
        @on-ok="updateOk">
        <div style="width: 100%;">
          <Row class="bench_search" >
            <Col span="5" align="center" >唯一识别编号<span style="color: red"></span></Col>
            <Col span="6">
              <Input disabled v-model="updateinfo.CPBI001" type="text" style="width: 52.5%"></Input>
            </Col>
            <Col span="4" align="center" >身份证号<span style="color: red">(必填)</span></Col>
            <Col span="9">
              <Input disabled v-model="updateinfo.CPBI002" type="text" style="width: 35%"></Input>
            </Col>
          </Row>
          <Row class="bench_search" >
            <Col span="5" align="center" >姓名<span style="color: red">(必填)</span></Col>
            <Col span="6">
              <Input disabled v-model="updateinfo.CPBI003" type="text" style="width: 52.5%"></Input>
            </Col>
            <Col span="4" align="center" >出生日期<span style="color: red">(必填)</span></Col>
            <Col span="9">
              <Input v-model="updateinfo.CPBI004" type="text" style="width: 35%"></Input>
            </Col>
          </Row>
          <Row class="bench_search">
            <Col span="5" align="center">性别<span style="color: red">(必填)</span></Col>
            <Col span="6" >
              <Select v-model="updateinfo.CPBI005" filterable transfer="" style="width: 52.5%;">
                <Option :value="'0'" >男</Option>
                <Option :value="'1'" >女</Option>
              </Select>
            </Col>
            <Col span="4" align="center">婚姻状况<span style="color: red">(必填)</span></Col>
            <Col span="9" >
              <Select v-model="updateinfo.CPBI006" filterable transfer="" style="width: 35%;">
                <Option :value="item.TYPECODE" v-for="item in dictList[3]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
              </Select>
            </Col>
          </Row>
          <Row class="bench_search">
            <Col span="5" align="center">民族<span style="color: red">(必填)</span></Col>
            <Col span="6" >
              <Select v-model="updateinfo.CPBI007" filterable transfer="" style="width: 52.5%;">
                <Option :value="item.TYPECODE" v-for="item in dictList[4]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
              </Select>
            </Col>
            <Col span="4" align="center">政治面貌<span style="color: red">(必填)</span></Col>
            <Col span="9" >
              <Select v-model="updateinfo.CPBI008" filterable transfer="" style="width: 35%;">
                <Option :value="item.TYPECODE" v-for="item in dictList[0]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
              </Select>
            </Col>
          </Row>
          <Row class="bench_search">
            <Col span="5" align="center">是否退役士兵定向<span style="color: red">(必填)</span></Col>
            <Col span="6" >
              <Select v-model="updateinfo.CPBI009" filterable transfer="" style="width: 52.5%;">
                <Option :value="'Y'" >是</Option>
                <Option :value="'N'" >否</Option>
              </Select>
            </Col>
            <Col span="4" align="center">是否军嫂定向<span style="color: red">(必填)</span></Col>
            <Col span="9" >
              <Select v-model="updateinfo.CPBI010" filterable transfer="" style="width: 35%;">
                <Option :value="'Y'" >是</Option>
                <Option :value="'N'" >否</Option>
              </Select>
            </Col>
          </Row>
          <Row class="bench_search">
            <Col span="5" align="center">是否为低保或低保边缘户子女<span style="color: red">(必填)</span></Col>
            <Col span="6" >
              <Select v-model="updateinfo.CPBI011" filterable transfer="" style="width: 52.5%;">
                <Option :value="'Y'" >是</Option>
                <Option :value="'N'" >否</Option>
              </Select>
            </Col>
            <Col span="4" align="center">户籍地址<span style="color: red">(必填)</span></Col>
            <Col span="9" >
              <Input v-model="updateinfo.CPBI012" type="text" style="width: 35%"></Input>
            </Col>
          </Row>
          <Row class="bench_search">
            <Col span="5" align="center">联系方式<span style="color: red">(必填)</span></Col>
            <Col span="6" >
              <Input v-model="updateinfo.CPBI013" type="text" style="width: 52.5%"></Input>
            </Col>
            <Col span="4" align="center">家庭住址<span style="color: red">(必填)</span></Col>
            <Col span="9" >
              <Input v-model="updateinfo.CPBI014" type="text" style="width: 35%"></Input>
            </Col>
          </Row>
<!--          <Row class="bench_search">-->
<!--            <Col span="5" align="center">免冠照片<span style="color: red">(必填)</span></Col>-->
<!--            <Col span="6" >-->
<!--              <div v-for="(item, index) in fileUrlList" :key="index" >-->
<!--                <img :src="item" :title="item" width="150px" height="200px" style="color: #457eca; font-size: 14px;"></img>-->
<!--              </div>-->
<!--            </Col>-->
<!--            <Col span="4" align="center">身份证正反上传<span style="color: red">(必填)</span></Col>-->
<!--            <Col span="9" >-->
<!--              <div v-for="(item, index) in fileUrlList2" :key="index" style="float: left; margin-right: 5px">-->
<!--                <img :src="item" :title="item" width="250px" height="170px" style="color: #457eca; font-size: 14px;"></img>-->
<!--              </div>-->
<!--              <div v-for="(item, index) in fileUrlList3" :key="index + '1'" style="float: left;">-->
<!--                <img :src="item" :title="item" width="250px" height="170px" style="color: #457eca; font-size: 14px;"></img>-->
<!--              </div>-->
<!--            </Col>-->
<!--          </Row>-->

          <Row class="bench_search">
            <Col span="5" align="center">免冠照片<span style="color: red">(必填)</span></Col>
            <Col span="4" >
              <Upload v-if="!judge" multiple type="drag" action="http://120.27.63.37:38081/api/ac/file/fileCommonService/upLoadFiles" :before-upload="beforeUpload" style="">
                <!-- <Button icon="ios-cloud-upload-outline">上传附件</Button>
                <span style="margin-left: 100px">请上传小于100M的文件（.jpg/.png/.ico/.pdf/.doc/.docx/.excel）</span> -->
                <div style="padding: 40px 50px">
                  <Icon type="ios-cloud-upload" size="52" style="color: #3399ff"></Icon>
                  <p>免冠照片, 最大为2M,最大像素为200 * 300(.jpg/.png)</p>
                </div>
              </Upload>
              <div v-if="judge">
                <Row :gutter="20">
                  <Col span="16">
                    <div v-for="(item, index) in fileUrlList" :key="'index3'+index" >
                      <img :src="item" :title="item" width="150px" height="200px" style="color: #457eca; font-size: 14px;"></img>
                      <button style="float: right;position: absolute;" @click="addIMG1">重新上传</button>
                    </div>
                  </Col>
                </Row>
              </div>
            </Col>
            <Col span="4" align="center">身份证正反上传<span style="color: red">(必填)</span></Col>
            <Col span="9" >
              <Upload v-if="!judge2" multiple type="drag" action="http://120.27.63.37:38081/api/ac/file/fileCommonService/upLoadFiles" :before-upload="beforeUpload2" style="width: 250px;float: left">
                <!-- <Button icon="ios-cloud-upload-outline">上传附件</Button>
                <span style="margin-left: 100px">请上传小于100M的文件（.jpg/.png/.ico/.pdf/.doc/.docx/.excel）</span> -->
                <div style="padding: 40px 40px;">
                  <Icon type="ios-cloud-upload" size="52" style="color: #3399ff"></Icon>
                  <p>身份证正面照片, 最大为2M(.jpg/.png)</p>
                </div>
              </Upload>
              <div v-if="judge2" style="float: left">
                <Row :gutter="20">
                  <Col span="24">
                    <div v-for="(item, index) in fileUrlList2" :key="index" style="float: left; margin-right: 5px">
                      <img :src="item" :title="item" width="250px" height="170px" style="float: left;"></img>
                      <button @click="addIMG2">重新上传</button>
                    </div>
                  </Col>
                </Row>
              </div>
              <!--反面-->
              <Upload v-if="!judge3" multiple type="drag" action="http://120.27.63.37:38081/api/ac/file/fileCommonService/upLoadFiles" :before-upload="beforeUpload3" style="width: 250px;float: left">
                <div style="padding: 40px 40px;">
                  <Icon type="ios-cloud-upload" size="52" style="color: #3399ff"></Icon>
                  <p>身份证反面照片, 最大为2M(.jpg/.png)</p>
                </div>
              </Upload>
              <div v-if="judge3" style="float: left">
                <Row :gutter="20">
                  <Col span="24">
                    <div v-for="(item, index) in fileUrlList3" :key="index + '0'" style="float: left;margin-left: 10px">
                      <img :src="item" :title="item" width="250px" height="170px" style="float: left;"></img>
                      <button @click="addIMG3">重新上传</button>
                    </div>
                  </Col>
                </Row>
              </div>
            </Col>
          </Row>

          <!--        <Row class="bench_search">-->
<!--          <Col span="5" align="center">在职状态</Col>-->
<!--          <Col span="6" >-->
<!--            <Select v-model="updateinfo.CPBI017" filterable transfer="" style="width: 52.5%;">-->
<!--              <Option :value="item.TYPECODE" v-for="item in dictList[5]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>-->
<!--            </Select>-->
<!--          </Col>-->
<!--          <Col span="4" align="center">审批状态</Col>-->
<!--          <Col span="9" >-->
<!--            <Select v-model="updateinfo.CPBI018" filterable transfer="" style="width: 35%;">-->
<!--              <Option :value="item.TYPECODE" v-for="item in dictList[6]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>-->
<!--            </Select>-->
<!--          </Col>-->
<!--        </Row>-->
<!--        <Row class="bench_search" >-->
<!--          <Col span="5" align="center" >银行卡号<span style="color: red">(必填)</span></Col>-->
<!--          <Col span="6">-->
<!--            <Input v-model="updateinfo.bankcardno" type="text" style="width: 52.5%"></Input>-->
<!--          </Col>-->
<!--          <Col span="4" align="center" >应发工资<span style="color: red">(必填)</span></Col>-->
<!--          <Col span="9">-->
<!--            <Input v-model="updateinfo.salary" type="text" style="width: 35%"></Input>-->
<!--          </Col>-->
<!--        </Row>-->
<!--          <Row class="bench_search" >-->
<!--            <Col span="5" align="center" >是否兼职<span style="color: red">(必填)</span></Col>-->
<!--            <Col span="6">-->
<!--              <Select v-model="updateinfo.part_time_job" filterable transfer="" style="width: 52.5%;">-->
<!--                <Option :value="1">是</Option>-->
<!--                <Option :value="0">否</Option>-->
<!--              </Select>-->
<!--            </Col>-->
<!--            <Col span="4" align="center" >是否兼职收入<span style="color: red">(必填)</span></Col>-->
<!--            <Col span="9">-->
<!--              <Select v-model="updateinfo.part_time_income" filterable transfer="" style="width: 35%;">-->
<!--                <Option :value="1">是</Option>-->
<!--                <Option :value="0">否</Option>-->
<!--              </Select>-->
<!--            </Col>-->
<!--          </Row>-->
      </div>
      <div style="width: 100%;">
        <Tabs type="card">
          <TabPane label="教育信息">
            <Row class="bench_search" >
              <Col span="5" align="center" >毕业院校<span style="color: red">(必填)</span></Col>
              <Col span="7">
                <Input v-model="updateinfo.CPEI002" type="text" style="width: 35%"></Input>
              </Col>
              <Col span="4" align="center" >所学专业<span style="color: red">(必填)</span></Col>
              <Col span="8">
                <Input v-model="updateinfo.CPEI003" type="text" style="width: 35%"></Input>
              </Col>
            </Row>
            <Row class="bench_search">
              <Col span="5" align="center">最高学历<span style="color: red">(必填)</span></Col>
              <Col span="7" >
                <Select v-model="updateinfo.CPEI004" filterable transfer="" style="width: 35%;">
                  <Option :value="item.TYPECODE" v-for="item in dictList[7]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                </Select>
              </Col>
              <Col span="4" align="center">学位<span style="color: red">(必填)</span></Col>
              <Col span="8" >
                <Select v-model="updateinfo.CPEI005" filterable transfer="" style="width: 35%;">
                  <Option :value="item.TYPECODE" v-for="item in dictList[8]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                </Select>
              </Col>
            </Row>
            <Row class="bench_search">
              <Col span="5" align="center">毕业时间<span style="color: red">(必填)</span></Col>
              <Col span="7" >
                <DatePicker type="date"  v-model="updateinfo.CPEI006" :transfer=true style="width: 35%;"></DatePicker>
              </Col>
            </Row>
          </TabPane>
          <TabPane label="亲属信息">
            <Row>
              <Col span="1">
                <Button type="primary" @click="addFamily">添加</Button>
              </Col>
              <Col span="1">
                <Button type="primary" @click="delFamily">删除</Button>
              </Col>
            </Row>
            <Table border :columns="familyInfoTable" :data="familyInfoList" ref="familySelection"  @on-selection-change="familySelection()"  style="margin-top: 10px;">
              <template  slot-scope="{ row }" slot="CPFI002">
                <Input  v-model="row.CPFI002" type="text"></Input>
              </template>
              <template slot-scope="{ row }" slot="CPFI003">
                <Select v-model="row.CPFI003" filterable transfer="" >
                  <Option :value="item.TYPECODE" v-for="item in dictList[9]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                </Select>
              </template>
              <template slot-scope="{ row }" slot="CPFI004">
                <Input v-model="row.CPFI004" type="text" ></Input>
              </template>
              <template slot-scope="{ row }" slot="CPFI005">
                <Input v-model="row.CPFI005" type="text" ></Input>
              </template>
              <template slot-scope="{ row }" slot="CPFI006">
                <Select v-model="row.CPFI006" filterable transfer="" >
                  <Option :value="item.TYPECODE" v-for="item in dictList[0]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                </Select>
              </template>
              <template slot-scope="{ row, index }" slot="action1">
                <Button type="primary" @click="confirm(row, index)">确认</Button>
              </template>
            </Table>
          </TabPane>
          <TabPane label="职业信息">
            <div style="overflow-y:auto;height: 200px">
              <Row class="bench_search" >
                <Col span="5" align="center" >社会工作师职业资格:</Col>
                <Col span="6">
                  <Select v-model="updateinfo.CPWI002" filterable transfer="" style="width: 52.5%">
                    <Option :value="item.TYPECODE" v-for="item in dictList[10]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                  </Select>
                </Col>
                <Col span="4" align="center" >社会工作师职业资格取得时间:</Col>
                <Col span="9">
                  <DatePicker type="date"  v-model="updateinfo.CPWI003" :transfer=true style="width: 35%;"></DatePicker>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >所属市区:<span style="color: red">(必填)</span></Col>
                <Col span="6">
                  <Select v-model="updateinfo.CPWI023" disabled filterable transfer="" clearable @on-change="getMailList2(4,updateinfo.CPWI023)" style="width:52.5%">
                    <Option :value="item.code" v-for="item in mailList1" v-bind:key="item.code">{{item.name}}</Option>
                  </Select>
<!--                  <Select v-model="updateinfo.CPWI023" filterable transfer="" style="width: 52.5%" @on-change="getRegionList(updateinfo.CPWI023, 1)">-->
<!--                    <Option :value="item.CPSR001" v-for="item in reginList[0]" v-bind:key="item.CPSR001">{{item.CPSR002}}</Option>-->
<!--                  </Select>-->
                </Col>
                <Col span="4" align="center" >街道:</Col>
                <Col span="9">
                  <Select v-model="updateinfo.CPWI024" disabled filterable transfer="" clearable @on-change="getMailList2(5, updateinfo.CPWI024)" style="width:35%">
                    <Option :value="item.code" v-for="item in mailList2" v-bind:key="item.code">{{item.name}}</Option>
                  </Select>
<!--                  <Select v-model="updateinfo.CPWI024" filterable transfer="" style="width: 35%" @on-change="getRegionList(updateinfo.CPWI024, 2)">-->
<!--                    <Option :value="item.CPSR001" v-for="item in reginList[1]" v-bind:key="item.CPSR001">{{item.CPSR002}}</Option>-->
<!--                  </Select>-->
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >社区:</Col>
                <Col span="6">
                  <Select v-model="updateinfo.CPWI025" disabled filterable transfer="" clearable style="width:52.5%">
                    <Option :value="item.code" v-for="item in mailList3" v-bind:key="item.code">{{item.name}}</Option>
                  </Select>
<!--                  <Select v-model="updateinfo.CPWI025" filterable transfer="" style="width: 52.5%">-->
<!--                    <Option :value="item.CPSR001" v-for="item in reginList[2]" v-bind:key="item.CPSR001">{{item.CPSR002}}</Option>-->
<!--                  </Select>-->
                </Col>
                <Col span="4" align="center" >入职时间:<span style="color: red">(必填)</span></Col>
                <Col span="9">
                  <DatePicker disabled type="date"  v-model="updateinfo.CPWI001" :transfer=true style="width: 35%;"></DatePicker>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >任职情况:<span style="color: red">(必填)</span></Col>
                <Col span="6">
                  <Select v-model="updateinfo.CPWI006" filterable transfer="" style="width: 52.5%">
                    <Option :value="item.TYPECODE" v-for="item in dictList[1]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                  </Select>
                </Col>
                <Col span="4" align="center" >任职时间:<span style="color: red">(必填)</span></Col>
                <Col span="9">
                  <DatePicker type="date"  v-model="updateinfo.CPWI007" :transfer=true style="width: 35%;"></DatePicker>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >是否党组织成员:<span style="color: red">(必填)</span></Col>
                <Col span="6">
                  <Select v-model="updateinfo.CPWI011" filterable transfer="" style="width: 52.5%">
                    <Option :value="'Y'" >是</Option>
                    <Option :value="'N'" >否</Option>
                  </Select>
                </Col>
                <Col span="4" align="center" >是否居委会成员:</Col>
                <Col span="9">
                  <Select v-model="updateinfo.CPWI012" filterable transfer="" style="width: 35%">
                    <Option :value="'Y'" >是</Option>
                    <Option :value="'N'" >否</Option>
                  </Select>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >笔试成绩:</Col>
                <Col span="6">
                  <Input v-model="updateinfo.CPWI008" type="text" style="width: 52.5%"></Input>
                </Col>
                <Col span="4" align="center" >面试成绩:</Col>
                <Col span="9">
                  <Input v-model="updateinfo.CPWI009" type="text" style="width: 35%"></Input>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >其他职业资格:</Col>
                <Col span="6">
                  <Input v-model="updateinfo.CPWI004" type="text" style="width: 52.5%"></Input>
                </Col>
                <Col span="4" align="center" >继续教育情况:</Col>
                <Col span="9">
                  <Input v-model="updateinfo.CPWI015" type="text" style="width: 35%"></Input>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >是否取得全科社工资格:<span style="color: red">(必填)</span></Col>
                <Col span="6">
                  <Select v-model="updateinfo.CPWI016" filterable transfer="" style="width: 52.5%">
                    <Option :value="'Y'" >是</Option>
                    <Option :value="'N'" >否</Option>
                  </Select>
                </Col>
                <Col span="4" align="center" >全科社工资格取得时间:<span style="color: red">(必填)</span></Col>
                <Col span="9">
                  <DatePicker type="date"  v-model="updateinfo.CPWI005" :transfer=true style="width: 35%;"></DatePicker>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >社会保险缴费记录:</Col>
                <Col span="6">
                  <CheckboxGroup v-model="updateinfo.CPWI017">
                    <Checkbox label="01">养老保险</Checkbox>
                    <Checkbox label="02">医疗保险</Checkbox>
                    <Checkbox label="03">失业保险</Checkbox>
                    <Checkbox label="04">工伤保险</Checkbox>
                    <Checkbox label="05">生育保险</Checkbox>
                    <Checkbox label="06">住房公积金</Checkbox>
                  </CheckboxGroup>
                </Col>
                <Col span="4" align="center" >初次缴纳时间:</Col>
                <Col span="9">
                  <DatePicker type="date"  v-model="updateinfo.CPWI018" :transfer=true style="width: 35%;"></DatePicker>
                </Col>
              </Row>
              <Row class="bench_search">
                <Col span="5" align="center" >是否有财政负担保险:<span style="color: red">(必填)</span></Col>
                <Col span="6">
                  <Select v-model="updateinfo.financial_burden" filterable transfer="" style="width: 52.5%">
                    <Option :value="'1'" >是</Option>
                    <Option :value="'0'" >否</Option>
                  </Select>
                </Col>

                <Col span="4" align="center" >其他财政负担保险:<span style="color: red"></span></Col>
                <Col span="9">
                  <Input v-model="updateinfo.other_financial_burden" type="text" style="width: 35%"></Input>
                  <!--                  <Input disabled v-model="showinfo.other_financial_burden"></Input>-->
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >是否连续缴纳:<span style="color: red">(必填)</span></Col>
                <Col span="6">
                  <Select v-model="updateinfo.CPWI019" filterable transfer="" style="width: 52.5%">
                    <Option :value="'Y'" >是</Option>
                    <Option :value="'N'" >否</Option>
                  </Select>
                </Col>
                <Col span="4" align="center" >接续缴纳时间:</Col>
                <Col span="9">
                  <DatePicker type="date"  v-model="updateinfo.CPWI020" :transfer=true style="width: 35%;"></DatePicker>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >培训记录:</Col>
                <Col span="6">
                  <Select v-model="updateinfo.CPWI014" filterable transfer="" style="width: 52.5%">
                    <Option :value="item.TYPECODE" v-for="item in dictList[11]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                  </Select>
                </Col>
                <Col span="4" align="center" >综合评定:</Col>
                <Col span="9">
                  <Select v-model="updateinfo.CPWI013" filterable transfer="" style="width: 35%">
                    <Option :value="'10'" >优秀</Option>
                    <Option :value="'20'" >称职</Option>
                    <Option :value="'40'" >不称职</Option>
                  </Select>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >离职时间:</Col>
                <Col span="6">
                  <DatePicker type="date"  v-model="updateinfo.CPWI021" :transfer=true style="width: 52.5%;"></DatePicker>
                </Col>
                <Col span="4" align="center" >人员类型:</Col>
                <Col span="9">
                  <CheckboxGroup v-model="updateinfo.personnel_type">
                    <Checkbox label="1">村(社区)党组织成员</Checkbox>
                    <Checkbox label="2">村(居)委员会成员</Checkbox>
                    <Checkbox label="3">村(社区)专职人员</Checkbox>
                    <Checkbox label="4">乡镇(街道)派驻人员</Checkbox>
                    <Checkbox label="5">社区网格员</Checkbox>
                    <Checkbox label="6">社区公益岗位</Checkbox>
                    <Checkbox label="7">村(居)务监督委员会成员</Checkbox>
                    <Checkbox label="8">村(居)民小组长</Checkbox>
                    <Checkbox label="9">其他人员</Checkbox>
                  </CheckboxGroup>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >是否返聘:</Col>
                <Col span="6">
                  <Select v-model="updateinfo.back" filterable transfer="" style="width: 52.5%">
                    <Option :value="'1'" >是</Option>
                    <Option :value="'0'" >否</Option>
                  </Select>
                </Col>
                <Col span="4" align="center" >返聘原因:</Col>
                <Col span="9">
                  <Input v-model="updateinfo.back_cause" type="text" style="width: 35%"></Input>
                </Col>
              </Row>
            </div>
          </TabPane>
          <TabPane label="考核信息">
            <Row>
              <Col span="1">
                <Button type="primary" @click="addAssessment">添加</Button>
              </Col>
              <Col span="1">
                <Button type="primary" @click="delAssessment">删除</Button>
              </Col>
            </Row>
            <Table width="850" border :columns="assessmentInfoTable" :data="assessmentInfoList" ref="assessmentSelection"  @on-selection-change="assessmentSelection()"  style="margin-top: 10px;">
              <template  slot-scope="{ row }" slot="CPKI001">
                <Select v-model="row.CPKI001" filterable transfer="" >
                  <Option :value="item.TYPECODE" v-for="item in dictList[12]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                </Select>
              </template>
              <template slot-scope="{ row }" slot="CPKI002">
                <DatePicker type="date"  v-model="row.CPKI002" :transfer=true ></DatePicker>
              </template>
              <template slot-scope="{ row }" slot="CPKI003">
                <Select v-model="row.CPKI003" filterable transfer="" >
                  <Option :value="item.TYPECODE" v-for="item in dictList[13]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                </Select>
              </template>
              <template slot-scope="{ row, index }" slot="action1">
                <Button type="primary" @click="confirm2(row, index)">确认</Button>
              </template>
            </Table>
          </TabPane>
<!--          <TabPane label="经历届次">-->
<!--            <Row>-->
<!--              <Col span="1">-->
<!--                <Button type="primary" @click="addAssessment1">添加</Button>-->
<!--              </Col>-->
<!--              <Col span="1">-->
<!--                <Button type="primary" @click="delAssessment1">删除</Button>-->
<!--              </Col>-->
<!--            </Row>-->
<!--            <Table width="850" border :columns="sessionInfoTable" :data="sessionInfoList" ref="sessionSelection3"  @on-selection-change="sessionSelection3()"  style="margin-top: 10px;">-->
<!--              <template  slot-scope="{ row }" slot="year">-->
<!--                <Select v-model="row.id" filterable transfer="" >-->
<!--                  <Option :value="item.id" v-for="item in sessionList" v-bind:key="item.id">{{item.year}}</Option>-->
<!--                </Select>-->
<!--              </template>-->
<!--              <template slot-scope="{ row, index }" slot="action1">-->
<!--                <Button type="primary" @click="confirm3(row, index)">确认</Button>-->
<!--              </template>-->
<!--            </Table>-->
<!--          </TabPane>-->
          <TabPane label="劳动合同">
            <div style="overflow-y:auto;height: 200px">
              <Row class="bench_search" >
                <Col span="5" align="center" >劳动合同:</Col>
                <Col span="6">
                  <Select v-model="updateinfo.labor_contract" filterable transfer="" style="width: 35%">
                    <Option :value="'0'" >否</Option>
                    <Option :value="'1'" >是</Option>
                  </Select>
                </Col>
                <Col span="4" align="center" >劳动合同甲方:</Col>
                <Col span="9">
                  <Input v-model="updateinfo.first_party" type="text" style="width: 35%"></Input>
                </Col>
              </Row>

              <Row class="bench_search" >
                <Col span="5" align="center" >其他甲方:</Col>
                <Col span="6">
                  <Input v-model="updateinfo.other_first_party" type="text" style="width: 35%"></Input>
                </Col>
                <Col span="4" align="center" >劳动关系证明:</Col>
                <Col span="9">
                  <Input v-model="updateinfo.prove" type="text" style="width: 35%"></Input>
                </Col>
              </Row>

              <Row class="bench_search" >
                <Col span="5" align="center" >其他证明:</Col>
                <Col span="6">
                  <Input v-model="updateinfo.other_prove" type="text" style="width: 35%"></Input>
                </Col>
              </Row>
            </div>
          </TabPane>
        </Tabs>
      </div>
    </Modal>
    <Modal
      v-model="showModal"
      title="查看"
      width="100%">
      <div style="width: 100%;">
        <Row class="bench_search" >
          <Col span="5" align="center" >唯一识别编号<span style="color: red">(必填)</span></Col>
          <Col span="6">
            <Input disabled v-model="showinfo.CPBI001" type="text" style="width: 52.5%"></Input>
          </Col>
          <Col span="4" align="center" >身份证号<span style="color: red">(必填)</span></Col>
          <Col span="9">
            <Input disabled v-model="showinfo.CPBI002" type="text" style="width: 35%"></Input>
          </Col>
        </Row>
        <Row class="bench_search" >
          <Col span="5" align="center" >姓名<span style="color: red">(必填)</span></Col>
          <Col span="6">
            <Input disabled v-model="showinfo.CPBI003" type="text" style="width: 52.5%"></Input>
          </Col>
          <Col span="4" align="center" >出生日期<span style="color: red">(必填)</span></Col>
          <Col span="9">
            <Input disabled v-model="showinfo.CPBI004" type="text" style="width: 35%"></Input>
          </Col>
        </Row>
        <Row class="bench_search">
          <Col span="5" align="center">性别<span style="color: red">(必填)</span></Col>
          <Col span="6" >
            <Select disabled v-model="showinfo.CPBI005" filterable transfer="" style="width: 52.5%;">
              <Option :value="'0'" >男</Option>
              <Option :value="'1'" >女</Option>
            </Select>
          </Col>
          <Col span="4" align="center">婚姻状况<span style="color: red">(必填)</span></Col>
          <Col span="9" >
            <Select disabled v-model="showinfo.CPBI006" filterable transfer="" style="width: 35%;">
              <Option :value="item.TYPECODE" v-for="item in dictList[3]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
            </Select>
          </Col>
        </Row>
        <Row class="bench_search">
          <Col span="5" align="center">民族<span style="color: red">(必填)</span></Col>
          <Col span="6" >
            <Select disabled v-model="showinfo.CPBI007" filterable transfer="" style="width: 52.5%;">
              <Option :value="item.TYPECODE" v-for="item in dictList[4]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
            </Select>
          </Col>
          <Col span="4" align="center">政治面貌<span style="color: red">(必填)</span></Col>
          <Col span="9" >
            <Select disabled v-model="showinfo.CPBI008" filterable transfer="" style="width: 35%;">
              <Option :value="item.TYPECODE" v-for="item in dictList[0]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
            </Select>
          </Col>
        </Row>
        <Row class="bench_search">
          <Col span="5" align="center">是否退役士兵定向<span style="color: red">(必填)</span></Col>
          <Col span="6" >
            <Select disabled v-model="showinfo.CPBI009" filterable transfer="" style="width: 52.5%;">
              <Option :value="'Y'" >是</Option>
              <Option :value="'N'" >否</Option>
            </Select>
          </Col>
          <Col span="4" align="center">是否军嫂定向<span style="color: red">(必填)</span></Col>
          <Col span="9" >
            <Select disabled v-model="showinfo.CPBI010" filterable transfer="" style="width: 35%;">
              <Option :value="'Y'" >是</Option>
              <Option :value="'N'" >否</Option>
            </Select>
          </Col>
        </Row>
        <Row class="bench_search">
          <Col span="5" align="center">是否为低保或低保边缘户子女<span style="color: red">(必填)</span></Col>
          <Col span="6" >
            <Select disabled v-model="showinfo.CPBI011" filterable transfer="" style="width: 52.5%;">
              <Option :value="'Y'" >是</Option>
              <Option :value="'N'" >否</Option>
            </Select>
          </Col>
          <Col span="4" align="center">户籍地址<span style="color: red">(必填)</span></Col>
          <Col span="9" >
            <Input disabled v-model="showinfo.CPBI012" type="text" style="width: 35%"></Input>
          </Col>
        </Row>
        <Row class="bench_search">
          <Col span="5" align="center">联系方式<span style="color: red">(必填)</span></Col>
          <Col span="6" >
            <Input disabled v-model="showinfo.CPBI013" type="text" style="width: 52.5%"></Input>
          </Col>
          <Col span="4" align="center">家庭住址<span style="color: red">(必填)</span></Col>
          <Col span="9" >
            <Input disabled v-model="showinfo.CPBI014" type="text" style="width: 35%"></Input>
          </Col>
        </Row>
        <Row class="bench_search">
          <Col span="5" align="center">免冠照片<span style="color: red">(必填)</span></Col>
          <Col span="6" >
            <div v-for="(item, index) in fileUrlList" :key="index" >
              <img :src="item" :title="item" width="150px" height="200px" style="color: #457eca; font-size: 14px;"></img>
            </div>
          </Col>
          <Col span="4" align="center">身份证正反上传<span style="color: red">(必填)</span></Col>
          <Col span="9" >
            <div v-for="(item, index) in fileUrlList2" :key="index" style="float: left; margin-right: 5px">
              <img :src="item" :title="item" width="250px" height="170px" style="color: #457eca; font-size: 14px;"></img>
            </div>
            <div v-for="(item, index) in fileUrlList3" :key="index + '0'" style="float: left">
              <img :src="item" :title="item" width="250px" height="170px" style="color: #457eca; font-size: 14px;"></img>
            </div>
          </Col>
        </Row>
<!--        <Row class="bench_search">-->
<!--          <Col span="5" align="center">在职状态</Col>-->
<!--          <Col span="6" >-->
<!--            <Select disabled v-model="showinfo.CPBI017" filterable transfer="" style="width: 52.5%;">-->
<!--              <Option :value="item.TYPECODE" v-for="item in dictList[5]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>-->
<!--            </Select>-->
<!--          </Col>-->
<!--          <Col span="4" align="center">审批状态</Col>-->
<!--          <Col span="9" >-->
<!--            <Select disabled v-model="showinfo.CPBI018" filterable transfer="" style="width: 35%;">-->
<!--              <Option :value="item.TYPECODE" v-for="item in dictList[6]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>-->
<!--            </Select>-->
<!--          </Col>-->
<!--        </Row>-->
<!--        <Row class="bench_search" >-->
<!--          <Col span="5" align="center" >银行卡号<span style="color: red">(必填)</span></Col>-->
<!--          <Col span="6">-->
<!--            <Input disabled v-model="showinfo.bankcardno" type="text" style="width: 52.5%"></Input>-->
<!--          </Col>-->
<!--          <Col span="4" align="center" >应发工资<span style="color: red">(必填)</span></Col>-->
<!--          <Col span="9">-->
<!--            <Input disabled v-model="showinfo.salary" type="text" style="width: 35%"></Input>-->
<!--          </Col>-->
<!--        </Row>-->
<!--        &lt;!&ndash;是否兼职、是否兼职收入  &ndash;&gt;-->
<!--        <Row class="bench_search" >-->
<!--          <Col span="5" align="center" >是否兼职<span style="color: red">(必填)</span></Col>-->
<!--          <Col span="6">-->
<!--            <Select disabled v-model="showinfo.part_time_job" filterable transfer="" style="width: 52.5%;">-->
<!--              <Option :value="'1'">是</Option>-->
<!--              <Option :value="'0'">否</Option>-->
<!--            </Select>-->
<!--          </Col>-->
<!--          <Col span="4" align="center" >是否兼职收入<span style="color: red">(必填)</span></Col>-->
<!--          <Col span="9">-->
<!--            <Select disabled v-model="showinfo.part_time_income" filterable transfer="" style="width: 35%;">-->
<!--              <Option :value="'1'">是</Option>-->
<!--              <Option :value="'0'">否</Option>-->
<!--            </Select>-->
<!--          </Col>-->
<!--        </Row>-->
      </div>
      <div style="width: 100%;">
        <Tabs type="card">
          <TabPane label="教育信息">
            <Row class="bench_search" >
              <Col span="5" align="center" >毕业院校<span style="color: red">(必填)</span></Col>
              <Col span="7">
                <Input disabled v-model="showinfo.CPEI002" type="text" style="width: 35%"></Input>
              </Col>
              <Col span="4" align="center" >所学专业<span style="color: red">(必填)</span></Col>
              <Col span="8">
                <Input disabled v-model="showinfo.CPEI003" type="text" style="width: 35%"></Input>
              </Col>
            </Row>
            <Row class="bench_search">
              <Col span="5" align="center">最高学历<span style="color: red">(必填)</span></Col>
              <Col span="7" >
                <Select disabled v-model="showinfo.CPEI004" filterable transfer="" style="width: 35%;">
                  <Option :value="item.TYPECODE" v-for="item in dictList[7]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                </Select>
              </Col>
              <Col span="4" align="center">学位<span style="color: red">(必填)</span></Col>
              <Col span="8" >
                <Select disabled v-model="showinfo.CPEI005" filterable transfer="" style="width: 35%;">
                  <Option :value="item.TYPECODE" v-for="item in dictList[8]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                </Select>
              </Col>
            </Row>
            <Row class="bench_search">
              <Col span="5" align="center">毕业时间<span style="color: red">(必填)</span></Col>
              <Col span="7" >
                <DatePicker disabled type="date"  v-model="showinfo.CPEI006" :transfer=true style="width: 35%;"></DatePicker>
              </Col>
            </Row>
          </TabPane>
          <TabPane label="亲属信息">
<!--            <Row>-->
<!--              <Col span="1">-->
<!--                <Button type="primary" @click="addFamily">添加</Button>-->
<!--              </Col>-->
<!--              <Col span="1">-->
<!--                <Button type="primary" @click="delFamily">删除</Button>-->
<!--              </Col>-->
<!--            </Row>-->
            <Table border :columns="familyInfoTable" :data="familyInfoList" ref="familySelection2"  @on-selection-change="familySelection()"  style="margin-top: 10px;">
              <template  slot-scope="{ row }" slot="CPFI002">
                <Input disabled v-model="row.CPFI002" type="text"></Input>
              </template>
              <template slot-scope="{ row }" slot="CPFI003">
                <Select v-model="row.CPFI003" filterable transfer="" >
                  <Option disabled :value="item.TYPECODE" v-for="item in dictList[9]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                </Select>
              </template>
              <template slot-scope="{ row }" slot="CPFI004">
                <Input disabled v-model="row.CPFI004" type="text" ></Input>
              </template>
              <template slot-scope="{ row }" slot="CPFI005">
                <Input disabled v-model="row.CPFI005" type="text" ></Input>
              </template>
              <template slot-scope="{ row }" slot="CPFI006">
                <Select disabled v-model="row.CPFI006" filterable transfer="" >
                  <Option :value="item.TYPECODE" v-for="item in dictList[0]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                </Select>
              </template>
              <template slot-scope="{ row, index }" slot="action1">
                <Button disabled type="primary" @click="confirm(row, index)">确认</Button>
              </template>
            </Table>
          </TabPane>
          <TabPane label="职业信息">
            <div style="overflow-y:auto;height: 200px">
              <Row class="bench_search" >
                <Col span="5" align="center" >社会工作师职业资格:</Col>
                <Col span="6">
                  <Select disabled v-model="showinfo.CPWI002" filterable transfer="" style="width: 52.5%">
                    <Option :value="item.TYPECODE" v-for="item in dictList[10]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                  </Select>
                </Col>
                <Col span="4" align="center" >社会工作师职业资格取得时间:</Col>
                <Col span="9">
                  <DatePicker disabled type="date"  v-model="showinfo.CPWI003" :transfer=true style="width: 35%;"></DatePicker>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >所属市区:<span style="color: red">(必填)</span></Col>
                <Col span="6">
                  <Select v-model="showinfo.CPWI023" disabled filterable transfer="" clearable @on-change="getMailList2(4,showinfo.CPWI023)" style="width:52.5%">
                    <Option :value="item.code" v-for="item in mailList1" v-bind:key="item.code">{{item.name}}</Option>
                  </Select>
<!--                  <Select disabled v-model="showinfo.CPWI023" filterable transfer="" style="width: 52.5%" @on-change="getRegionList(showinfo.CPWI023, 1)">-->
<!--                    <Option :value="item.CPSR001" v-for="item in reginList[0]" v-bind:key="item.CPSR001">{{item.CPSR002}}</Option>-->
<!--                  </Select>-->
                </Col>
                <Col span="4" align="center" >街道:</Col>
                <Col span="9">
                  <Select v-model="showinfo.CPWI024" disabled filterable transfer="" clearable @on-change="getMailList2(5, showinfo.CPWI024)" style="width:35%">
                    <Option :value="item.code" v-for="item in mailList2" v-bind:key="item.code">{{item.name}}</Option>
                  </Select>
<!--                  <Select disabled v-model="showinfo.CPWI024" filterable transfer="" style="width: 35%" @on-change="getRegionList(showinfo.CPWI024, 2)">-->
<!--                    <Option :value="item.CPSR001" v-for="item in reginList[1]" v-bind:key="item.CPSR001">{{item.CPSR002}}</Option>-->
<!--                  </Select>-->
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >社区:</Col>
                <Col span="6">
                  <Select v-model="showinfo.CPWI025" disabled filterable transfer="" clearable style="width:52.5%">
                    <Option :value="item.code" v-for="item in mailList3" v-bind:key="item.code">{{item.name}}</Option>
                  </Select>
<!--                  <Select disabled v-model="showinfo.CPWI025" filterable transfer="" style="width: 52.5%">-->
<!--                    <Option :value="item.CPSR001" v-for="item in reginList[2]" v-bind:key="item.CPSR001">{{item.CPSR002}}</Option>-->
<!--                  </Select>-->
                </Col>
                <Col span="4" align="center" >入职时间:<span style="color: red">(必填)</span></Col>
                <Col span="9">
                  <DatePicker disabled type="date"  v-model="showinfo.CPWI001" :transfer=true style="width: 35%;"></DatePicker>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >任职情况:<span style="color: red">(必填)</span></Col>
                <Col span="6">
                  <Select disabled v-model="showinfo.CPWI006" filterable transfer="" style="width: 52.5%">
                    <Option :value="item.TYPECODE" v-for="item in dictList[1]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                  </Select>
                </Col>
                <Col span="4" align="center" >任职时间:<span style="color: red">(必填)</span></Col>
                <Col span="9">
                  <DatePicker disabled type="date"  v-model="showinfo.CPWI007" :transfer=true style="width: 35%;"></DatePicker>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >是否党组织成员:<span style="color: red">(必填)</span></Col>
                <Col span="6">
                  <Select disabled v-model="showinfo.CPWI011" filterable transfer="" style="width: 52.5%">
                    <Option :value="'Y'" >是</Option>
                    <Option :value="'N'" >否</Option>
                  </Select>
                </Col>
                <Col span="4" align="center" >是否居委会成员:</Col>
                <Col span="9">
                  <Select disabled v-model="showinfo.CPWI012" filterable transfer="" style="width: 35%">
                    <Option :value="'Y'" >是</Option>
                    <Option :value="'N'" >否</Option>
                  </Select>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >笔试成绩:</Col>
                <Col span="6">
                  <Input disabled v-model="showinfo.CPWI008" type="text" style="width: 52.5%"></Input>
                </Col>
                <Col span="4" align="center" >面试成绩:</Col>
                <Col span="9">
                  <Input disabled v-model="showinfo.CPWI009" type="text" style="width: 35%"></Input>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >其他职业资格:</Col>
                <Col span="6">
                  <Input disabled v-model="showinfo.CPWI004" type="text" style="width: 52.5%"></Input>
                </Col>
                <Col span="4" align="center" >继续教育情况:</Col>
                <Col span="9">
                  <Input disabled v-model="showinfo.CPWI015" type="text" style="width: 35%"></Input>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >是否取得全科社工资格:<span style="color: red">(必填)</span></Col>
                <Col span="6">
                  <Select disabled v-model="showinfo.CPWI016" filterable transfer="" style="width: 52.5%">
                    <Option :value="'Y'" >是</Option>
                    <Option :value="'N'" >否</Option>
                  </Select>
                </Col>
                <Col span="4" align="center" >全科社工资格取得时间:<span style="color: red">(必填)</span></Col>
                <Col span="9">
                  <DatePicker disabled type="date"  v-model="showinfo.CPWI005" :transfer=true style="width: 35%;"></DatePicker>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >社会保险缴费记录:</Col>
                <Col span="6">
                  <CheckboxGroup disabled v-model="showinfo.CPWI017">
                    <Checkbox label="01">养老保险</Checkbox>
                    <Checkbox label="02">医疗保险</Checkbox>
                    <Checkbox label="03">失业保险</Checkbox>
                    <Checkbox label="04">工伤保险</Checkbox>
                    <Checkbox label="05">生育保险</Checkbox>
                    <Checkbox label="06">住房公积金</Checkbox>
                  </CheckboxGroup>
                </Col>
                <Col span="4" align="center" >初次缴纳时间:</Col>
                <Col span="9">
                  <DatePicker disabled type="date"  v-model="showinfo.CPWI018" :transfer=true style="width: 35%;"></DatePicker>
                </Col>
              </Row>
              <!-- 是否有财政负担保险、其他财政负担保险  <Input disabled v-model="row.CPFI004" type="text" ></Input>-->
              <Row class="bench_search">
                <Col span="5" align="center" >是否有财政负担保险:<span style="color: red">(必填)</span></Col>
                <Col span="6">
                  <Select disabled v-model="showinfo.financial_burden" filterable transfer="" style="width: 52.5%">
                    <Option :value="'1'" >是</Option>
                    <Option :value="'0'" >否</Option>
                  </Select>
                </Col>

                <Col span="4" align="center" >其他财政负担保险:<span style="color: red"></span></Col>
                <Col span="9">
                  <Input disabled v-model="showinfo.other_financial_burden" type="text" style="width: 35%"></Input>
<!--                  <Input disabled v-model="showinfo.other_financial_burden"></Input>-->
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >是否连续缴纳:<span style="color: red">(必填)</span></Col>
                <Col span="6">
                  <Select disabled v-model="showinfo.CPWI019" filterable transfer="" style="width: 52.5%">
                    <Option :value="'Y'" >是</Option>
                    <Option :value="'N'" >否</Option>
                  </Select>
                </Col>
                <Col span="4" align="center" >接续缴纳时间:</Col>
                <Col span="9">
                  <DatePicker disabled type="date"  v-model="showinfo.CPWI020" :transfer=true style="width: 35%;"></DatePicker>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >培训记录:</Col>
                <Col span="6">
                  <Select disabled v-model="showinfo.CPWI014" filterable transfer="" style="width: 52.5%">
                    <Option :value="item.TYPECODE" v-for="item in dictList[11]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                  </Select>
                </Col>
                <Col span="4" align="center" >综合评定:</Col>
                <Col span="9">
                  <Select disabled v-model="showinfo.CPWI013" filterable transfer="" style="width: 35%">
                    <Option :value="'10'" >优秀</Option>
                    <Option :value="'20'" >称职</Option>
                    <Option :value="'40'" >不称职</Option>
                  </Select>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >离职时间:</Col>
                <Col span="6">
                  <DatePicker disabled type="date"  v-model="showinfo.CPWI021" :transfer=true style="width: 52.5%;"></DatePicker>
                </Col>
                <Col span="4" align="center" >人员类型:</Col>
                <Col span="9">
                  <CheckboxGroup disabled v-model="showinfo.personnel_type">
                    <Checkbox label="1">村(社区)党组织成员</Checkbox>
                    <Checkbox label="2">村(居)委员会成员</Checkbox>
                    <Checkbox label="3">村(社区)专职人员</Checkbox>
                    <Checkbox label="4">乡镇(街道)派驻人员</Checkbox>
                    <Checkbox label="5">社区网格员</Checkbox>
                    <Checkbox label="6">社区公益岗位</Checkbox>
                    <Checkbox label="7">村(居)务监督委员会成员</Checkbox>
                    <Checkbox label="8">村(居)民小组长</Checkbox>
                    <Checkbox label="9">其他人员</Checkbox>
                  </CheckboxGroup>
                </Col>
              </Row>
              <Row class="bench_search" >
                <Col span="5" align="center" >是否返聘:</Col>
                <Col span="6">
                  <Select disabled v-model="showinfo.back" filterable transfer="" style="width: 52.5%">
                    <Option :value="'1'" >是</Option>
                    <Option :value="'0'" >否</Option>
                  </Select>
                </Col>
                <Col span="4" align="center" >返聘原因:</Col>
                <Col span="9">
                  <Input disabled v-model="showinfo.back_cause" type="text" style="width: 35%"></Input>
                </Col>
              </Row>
            </div>
          </TabPane>
          <TabPane label="考核信息">
            <Row>
              <Col span="1">
                <Button disabled type="primary" @click="addAssessment">添加</Button>
              </Col>
              <Col span="1">
                <Button disabled type="primary" @click="delAssessment">删除</Button>
              </Col>
            </Row>
            <Table width="850" border :columns="assessmentInfoTable" :data="assessmentInfoList" ref="assessmentSelection2"  @on-selection-change="assessmentSelection()"  style="margin-top: 10px;">
              <template  slot-scope="{ row }" slot="CPKI001">
                <Select disabled v-model="row.CPKI001" filterable transfer="" >
                  <Option :value="item.TYPECODE" v-for="item in dictList[12]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                </Select>
              </template>
              <template slot-scope="{ row }" slot="CPKI002">
                <DatePicker disabled type="date"  v-model="row.CPKI002" :transfer=true ></DatePicker>
              </template>
              <template slot-scope="{ row }" slot="CPKI003">
                <Select disabled v-model="row.CPKI003" filterable transfer="" >
                  <Option :value="item.TYPECODE" v-for="item in dictList[13]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
                </Select>
              </template>
              <template slot-scope="{ row, index }" slot="action1">
                <Button disabled type="primary" @click="confirm2(row, index)">确认</Button>
              </template>
            </Table>
          </TabPane>
<!--          <TabPane label="经历届次">-->
<!--            <Table width="850" border :columns="sessionInfoTable" :data="sessionInfoList" ref="sessionSelection1"  @on-selection-change="sessionSelection1()"  style="margin-top: 10px;">-->
<!--              <template  slot-scope="{ row }" slot="year">-->
<!--                <Select v-model="row.id" filterable transfer="" >-->
<!--                  <Option :value="item.id" v-for="item in sessionList" v-bind:key="item.id">{{item.year}}</Option>-->
<!--                </Select>-->
<!--              </template>-->
<!--              <template slot-scope="{ row, index }" slot="action1">-->
<!--                <Button type="primary" @click="confirm3(row, index)">确认</Button>-->
<!--              </template>-->
<!--            </Table>-->
<!--          </TabPane>-->
          <TabPane label="劳动合同">
            <div style="overflow-y:auto;height: 200px">
              <Row class="bench_search" >
                <Col span="5" align="center" >劳动合同:</Col>
                <Col span="6">
                  <Select disabled v-model="showinfo.labor_contract" filterable transfer="" style="width: 35%">
                    <Option :value="'0'" >否</Option>
                    <Option :value="'1'" >是</Option>
                  </Select>
                </Col>
                <Col span="4" align="center" >劳动合同甲方:</Col>
                <Col span="9">
                  <Input disabled v-model="showinfo.first_party" type="text" style="width: 35%"></Input>
                </Col>
              </Row>

              <Row class="bench_search" >
                <Col span="5" align="center" >其他甲方:</Col>
                <Col span="6">
                  <Input disabled v-model="showinfo.other_first_party" type="text" style="width: 35%"></Input>
                </Col>
                <Col span="4" align="center" >劳动关系证明:</Col>
                <Col span="9">
                  <Input disabled v-model="showinfo.prove" type="text" style="width: 35%"></Input>
                </Col>
              </Row>

              <Row class="bench_search" >
                <Col span="5" align="center" >其他证明:</Col>
                <Col span="6">
                  <Input disabled v-model="showinfo.other_prove" type="text" style="width: 35%"></Input>
                </Col>
              </Row>
            </div>
          </TabPane>
        </Tabs>
      </div>
    </Modal>
    <Modal
      v-model="jdnddModal"
      title="街道内调动"
      width="35%"
      @on-ok="jdnddModalOk"
      >
      <Row class="bench_search">
        <Col span="4" align="center">提交人员</Col>
        <Col span="8">
          <Input  type="text" v-model="dcInfo.company_code"></Input>
        </Col>
        <Col span="4" align="center">审批人员</Col>
        <Col span="8">
          <Input  type="text" v-model="dcInfo.put_place"></Input>
        </Col>
      </Row>
      <Row class="bench_search">
        <Col span="4" align="center">调动人员</Col>
        <Col span="8">
          <Input  type="text" v-model="dcInfo.name"></Input>
        </Col>
      </Row>
      <Row class="bench_search">
        <Col span="4" align="center">调出街道</Col>
        <Col span="8">
          <Input  type="text" v-model="dcInfo.out_placeName"></Input>
        </Col>
        <Col span="4" align="center">调入社区<span style="color: red">(必填)</span></Col>
        <Col span="8">
          <Select v-model="dcInfo.out_place" filterable transfer="">
            <Option :value="item.code" v-for="item in mailList3" v-bind:key="item.code">{{item.name}}</Option>
          </Select>
<!--          <Select v-model="dcInfo.out_place">-->
<!--            <Option v-for="(item, index) in communityList" :value="item.CPSR001" :key="index">{{ item.CPSR002 }}</Option>-->
<!--          </Select>-->
        </Col>
      </Row>
      <Row class="bench_search">
        <Col span="4" align="center">审批流程</Col>
        <Col span="8">
          <Input type="text" v-model="dcInfo.event_typeName"></Input>
        </Col>
        <Col span="4" align="center">下个流程</Col>
        <Col span="8">
          <Input type="text" v-model="dcInfo.stateName"></Input>
        </Col>
      </Row>
    </Modal>

    <Modal
      v-model="kjdddModal"
      title="跨街道调动"
      width="35%"
      @on-ok="kjdddOk"
    >
      <Row class="bench_search">
        <Col span="4" align="center">提交人员</Col>
        <Col span="8">
          <Input v-model="ddInfo.company_code" type="text"></Input>
        </Col>
        <Col span="4" align="center">审批人员</Col>
        <Col span="8">
          <Input v-model="ddInfo.put_place" type="text"></Input>
        </Col>
      </Row>
      <Row class="bench_search">
        <Col span="4" align="center">调动人员</Col>
        <Col span="8">
          <Input v-model="ddInfo.name" type="text"></Input>
        </Col>
      </Row>
      <Row class="bench_search">
        <Col span="4" align="center">调出街道</Col>
        <Col span="8">
          <Input v-model="ddInfo.out_placeName" type="text"></Input>
        </Col>
        <Col span="4" align="center">调入街道<span style="color: red">(必填)</span></Col>
        <Col span="8">
          <Select v-model="ddInfo.put_place" filterable transfer="" clearable>
            <Option :value="item.code" v-for="item in mailList2" v-bind:key="item.code">{{item.name}}</Option>
          </Select>
<!--          <Select v-model="ddInfo.put_place">-->
<!--            <Option :value="item.CPSR001" v-for="item in reginList[3]" v-bind:key="item.CPSR001">{{item.CPSR002}}</Option>-->
<!--          </Select>-->
        </Col>
      </Row>
      <Row class="bench_search">
        <Col span="4" align="center">审批流程</Col>
        <Col span="8">
          <Input v-model="ddInfo.event_typeName" type="text"  value="3"></Input>
        </Col>
        <Col span="4" align="center">下个流程</Col>
        <Col span="8">
          <Input v-model="ddInfo.stateName" type="text" value="1" ></Input>
        </Col>
      </Row>
    </Modal>

    <Modal
      v-model="qnddModal"
      title="区内调动"
      width="35%"
      @on-ok="qnddModalOk"
    >
      <Row class="bench_search">
        <Col span="4" align="center">提交人员</Col>
        <Col span="8">
          <Input  type="text" v-model="dfInfo.company_code"></Input>
        </Col>
        <Col span="4" align="center">审批人员</Col>
        <Col span="8">
          <Input  type="text" v-model="dfInfo.put_place"></Input>
        </Col>
      </Row>
      <Row class="bench_search">
        <Col span="4" align="center">调动人员</Col>
        <Col span="8">
          <Input  type="text" v-model="dfInfo.name"></Input>
        </Col>
        <Col span="4" align="center">调出街道</Col>
        <Col span="8">
          <Input  type="text" v-model="dfInfo.out_placeName"></Input>
        </Col>
      </Row>
      <Row class="bench_search">
        <Col span="4" align="center">调入街道<span style="color: red">(必填)</span></Col>
        <Col span="8">
          <Select v-model="dfInfo.out_place1" filterable transfer="" clearable @on-change="getMailList2(5, dfInfo.out_place1)">
            <Option :value="item.code" v-for="item in mailList2" v-bind:key="item.code">{{item.name}}</Option>
          </Select>
<!--          <Select v-model="dfInfo.out_place1" @on-change="changeList">-->
<!--            <Option v-for="(item, index) in streatList" :value="item.CPSR001" :key="index">{{ item.CPSR002 }}</Option>-->
<!--          </Select>-->
        </Col>
        <Col span="4" align="center">调入社区<span style="color: red">(必填)</span></Col>
        <Col span="8">
          <Select v-model="dfInfo.out_place2" filterable transfer="" clearable>
            <Option :value="item.code" v-for="item in mailList3" v-bind:key="item.code">{{item.name}}</Option>
          </Select>
<!--          <Select v-model="dfInfo.out_place2">-->
<!--            <Option v-for="(item, index) in communityList2" :value="item.CPSR001" :key="index">{{ item.CPSR002 }}</Option>-->
<!--          </Select>-->
        </Col>
      </Row>
      <Row class="bench_search">
        <Col span="4" align="center">审批流程</Col>
        <Col span="8">
          <Input type="text" v-model="dfInfo.event_typeName"></Input>
        </Col>
        <Col span="4" align="center">下个流程</Col>
        <Col span="8">
          <Input type="text" v-model="dfInfo.stateName"></Input>
        </Col>
      </Row>
    </Modal>
    <Modal
      v-model="kqddModal"
      title="跨区调动"
      width="35%"
      @on-ok="kqddModalOk"
    >
      <Row class="bench_search">
        <Col span="4" align="center">提交人员</Col>
        <Col span="8">
          <Input  type="text" v-model="deInfo.company_code"></Input>
        </Col>
        <Col span="4" align="center">审批人员</Col>
        <Col span="8">
          <Input  type="text" v-model="deInfo.put_place"></Input>
        </Col>
      </Row>
      <Row class="bench_search">
        <Col span="4" align="center">调动人员</Col>
        <Col span="8">
          <Input  type="text" v-model="deInfo.name"></Input>
        </Col>
      </Row>
      <Row class="bench_search">
        <Col span="4" align="center">调出区县</Col>
        <Col span="8">
          <Input  type="text" v-model="deInfo.out_placeName"></Input>
        </Col>
        <Col span="4" align="center">调入区县<span style="color: red">(必填)</span></Col>
        <Col span="8">
          <Select v-model="deInfo.put_place" filterable transfer="" clearable @on-change="getMailList2(4,deInfo.put_place)">
            <Option :value="item.code" v-for="item in mailList1" v-bind:key="item.code">{{item.name}}</Option>
          </Select>
<!--          <Select v-model="deInfo.put_place" @on-change="changeList0">-->
<!--            <Option v-for="(item, index) in cityList0" :value="item.CPSR001" :key="index">{{ item.CPSR002 }}</Option>-->
<!--          </Select>-->
        </Col>
      </Row>
      <Row class="bench_search">
        <Col span="4" align="center">调入街道<span style="color: red">(必填)</span></Col>
        <Col span="8">
          <Select v-model="deInfo.out_place1" filterable transfer="" clearable @on-change="getMailList2(5,deInfo.out_place1)">
            <Option :value="item.code" v-for="item in mailList2" v-bind:key="item.code">{{item.name}}</Option>
          </Select>
<!--          <Select v-model="deInfo.out_place1" @on-change="changeList1">-->
<!--            <Option v-for="(item, index) in cityList1" :value="item.CPSR001" :key="index">{{ item.CPSR002 }}</Option>-->
<!--          </Select>-->
        </Col>
        <Col span="4" align="center">调入社区<span style="color: red">(必填)</span></Col>
        <Col span="8">
          <Select v-model="deInfo.out_place2" filterable transfer="" clearable>
            <Option :value="item.code" v-for="item in mailList3" v-bind:key="item.code">{{item.name}}</Option>
          </Select>
<!--          <Select v-model="deInfo.out_place2">-->
<!--            <Option v-for="(item, index) in cityList2" :value="item.CPSR001" :key="index">{{ item.CPSR002 }}</Option>-->
<!--          </Select>-->
        </Col>
      </Row>
      <Row class="bench_search">
        <Col span="4" align="center">审批流程</Col>
        <Col span="8">
          <Input type="text" v-model="deInfo.event_typeName"></Input>
        </Col>
        <Col span="4" align="center">下个流程</Col>
        <Col span="8">
          <Input type="text" v-model="deInfo.stateName"></Input>
        </Col>
      </Row>
    </Modal>

    <Modal
      v-model="snddModal"
      title="市内调动"
      width="35%"
      @on-ok="snddModalOk"
    >
      <Row class="bench_search">
        <Col span="4" align="center">提交人员</Col>
        <Col span="8">
          <Input  type="text" v-model="deInfo.company_code"></Input>
        </Col>
        <Col span="4" align="center">审批人员</Col>
        <Col span="8">
          <Input  type="text" disabled></Input>
        </Col>
      </Row>
      <Row class="bench_search">
        <Col span="4" align="center">调动人员</Col>
        <Col span="8">
          <Input  type="text" v-model="deInfo.name"></Input>
        </Col>
      </Row>
      <Row class="bench_search">
        <Col span="4" align="center">调出区县</Col>
        <Col span="8">
          <Input  type="text" v-model="deInfo.out_placeName"></Input>
        </Col>
        <Col span="4" align="center">调入区县<span style="color: red">(必填)</span></Col>
        <Col span="8">
          <Select v-model="deInfo.put_place" filterable transfer="" clearable @on-change="getMailList2(4,deInfo.put_place)">
            <Option :value="item.code" v-for="item in mailList1" v-bind:key="item.code">{{item.name}}</Option>
          </Select>
<!--          <Select v-model="deInfo.put_place" @on-change="changeList0">-->
<!--            <Option v-for="(item, index) in cityList0" :value="item.CPSR001" :key="index">{{ item.CPSR002 }}</Option>-->
<!--          </Select>-->
        </Col>
      </Row>
      <Row class="bench_search">
        <Col span="4" align="center">调入街道<span style="color: red">(必填)</span></Col>
        <Col span="8">
          <Select v-model="deInfo.out_place1" filterable transfer="" clearable @on-change="getMailList2(5, deInfo.out_place1)">
            <Option :value="item.code" v-for="item in mailList2" v-bind:key="item.code">{{item.name}}</Option>
          </Select>
<!--          <Select v-model="deInfo.out_place1" @on-change="changeList1">-->
<!--            <Option v-for="(item, index) in cityList1" :value="item.CPSR001" :key="index">{{ item.CPSR002 }}</Option>-->
<!--          </Select>-->
        </Col>
        <Col span="4" align="center">调入社区<span style="color: red">(必填)</span></Col>
        <Col span="8">
          <Select v-model="deInfo.out_place2" filterable transfer="" clearable>
            <Option :value="item.code" v-for="item in mailList3" v-bind:key="item.code">{{item.name}}</Option>
          </Select>
<!--          <Select v-model="deInfo.out_place2">-->
<!--            <Option v-for="(item, index) in cityList2" :value="item.CPSR001" :key="index">{{ item.CPSR002 }}</Option>-->
<!--          </Select>-->
        </Col>
      </Row>
      <Row class="bench_search">
        <Col span="4" align="center">审批流程</Col>
        <Col span="8">
          <Input type="text" v-model="deInfo.event_typeName"></Input>
        </Col>
        <Col span="4" align="center">下个流程</Col>
        <Col span="8">
          <Input type="text" v-model="deInfo.stateName"></Input>
        </Col>
      </Row>
    </Modal>

    <Modal
      v-model="deleteModal"
      title="删除"
      @on-ok="deleteOk()">
      是否确认删除？
    </Modal>

    <Modal v-model="deleteModal" title="请选择注销原因" width="700" cancel-text="关闭"
           @on-ok="ok222()" @on-cancel="modalEdit2=false" ok-text="确定">
      <Select v-model="deleteData.cancellation" filterable transfer="" style="width: 70%;">
        <Option :value="item.TYPECODE" v-for="item in dictList[14]" v-bind:key="item.TYPECODE">{{item.TYPENAME}}</Option>
      </Select>
    </Modal>

    <Modal
      v-model="processModal"
      title="流程跟踪"
      width="80%">
      <Row>
        <Col span="24" >
          <Table border  :columns="processColumns" :data="processlist" ref="personSelection" style="margin-top:10px;" @on-selection-change="personSelection()">
            <template slot-scope="{ row }" slot="state">
              <span v-if="!row.state">无结点</span>
              <span v-if="row.state == '1'">调入地审批</span>
              <span v-if="row.state == '2'">区审批</span>
              <span v-if="row.state == '3'">街道审批</span>
              <span v-if="row.state == '4'">市审批</span>
            </template>
            <template slot-scope="{ row }" slot="result">
              <span v-if="row.result == '0' && row.state == '1'">街道驳回</span>
              <span v-if="row.result == '0' && row.state == '2'">区驳回</span>
              <span v-if="row.result == '1' && row.state == '1'">街道通过</span>
              <span v-if="row.result == '1' && row.state == '2' && row.event_type != '6'">街道通过已上报到区</span>
              <span v-if="row.result == '1' && row.state == '2' && row.event_type == '6'">其他区待审批</span>
              <span v-if="row.result == '00' && row.state == '2'">通过</span>
              <span v-if="row.result == '2' && row.state == '1'">街道待审批</span>
              <span v-if="row.result == '2' && row.state == '2'">区待审批</span>
              <span v-if="row.result == '3' && row.state == '2'">审批通过</span>
              <span v-if="!row.result">无审批人员</span>
            </template>
          </Table>
          <Row v-if="searchInfo.loading1 == true">
            <Col class="demo-spin-col" span="8" offset="8">
              <Spin fix>
                <Icon type="ios-loading" size=18 class="demo-spin-icon-load"></Icon>
                <div>数据正在加载</div>
              </Spin>
            </Col>
          </Row>
        </Col>
      </Row>
    </Modal>
  </div>
</template>

<script>
import {
  getPersonInfoList,
  getRegionList,
  updatePersonnelState,
  deletePersonnelInfo,
  updatePersonCompanyCode,
  getTypeNameList,
  createPersonneInfo,
  getPersonInfo,
  deleteComplaint,
  updatePersonneInfo,
  createTransfer,
  date2str,
  delFeiqi,
  findDcPersonInfoList,
  getYearList,
  getOffice,
  getFlow,
  createDraft,
  getDraftID,
  getDraft
} from '@/api/eventlist'
import {createUpLoadFiles, getSign} from "@/api/common";
// import Export from "../export-compoments";
export default {
  // components: {Export},
  data () {
    return {
      draftID: '',
      draft: false,
      selection: [],
      process: false,
      mailList1: [],
      mailList2: [],
      mailList3: [],
      judge: false,
      judge2: false,
      judge3: false,
      snddModal: false,
      Excelloading:false,
      processModal: false,
      sessionList: [],
      sessionInfoTable: [
        { type: 'index', width:50, align:'center'},
        {
          type: 'selection',
          width: 60,
          align: 'center'
        },
        // { title: '开始时间', key: 'start_time', width: 250, align: 'center' },
        // { title: '结束时间', key: 'end_time', width: 250, align: 'center' },
        { title: '届次', slot: 'year', width: 500, align: 'center' },
        { title: '操作', slot: 'action1', minWidth: 90, align: 'center' }
      ],
      sessionSelectionList: [],
      sessionInfoList: [],
      datalist: [],
      addModal: false,
      deleteModal: false,
      uid: '',
      updateModal: false,
      showModal: false,
      cityList0: [],// 跨区调动
      cityList1: [],// 跨区调动
      cityList2: [],// 跨区调动
      handle_time1: '',
      jdnddModal: false,
      kjdddModal: false,
      qnddModal: false,
      kqddModal: false,
      ddInfo: {},
      dcInfo: {},
      deInfo: {},
      dfInfo: {},
      addinfo: {},
      deleteData: {},
      updateinfo: {},
      streatList: [],
      showinfo: {},
      deleteInfo: {},
      row: {},
      handleInfo: {},
      searchInfo: {
        currentPageNo: 1,
        currentPageSize: 10,
        loading1: true
      },
      reginList: [[], [], []],
      cityList: [],
      communityList2: [],
      communityList: [],
      company_code: this.$store.state.user.severUserInfo.company_code,
      dictList: [[], [], []],
      // 上传hadoop相关
      upPicData: {
        filePath: '',
        fileName: ''
      },
      fileUrlList: [],
      fileUrlList2: [],
      fileUrlList3: [],
      timeStep: '',
      type: '',
      index1: 0,
      index2: 0,
      index3: 0,
      columns: [
        {
          type: 'index',
          width: 50,
          align: 'center'
        },
        {
          type: 'selection',
          width: 60,
          align: 'center'
        },
        { title: '姓名', key: 'CPBI003', minWidth: 90, align: 'center' },
        { title: '性别', key: 'sex', width: 80, align: 'center' },
        { title: '年龄', key: 'age', width: 80, align: 'center' },
        { title: '超龄', key: 'isoverage', width: 80, align: 'center' },
        { title: '身份证号', key: 'CPBI002', minWidth: 160, align: 'center' },
        { title: '政治面貌', key: 'CPBI008', width: 100, align: 'center' },
        { title: '联系方式', key: 'CPBI013', width: 120, align: 'center' },
        { title: '免冠照片',
          width: 100,
          align: 'center',
          render: (h, params) => {
            return h('img', {
              attrs: {
                // src: 'https://szmz.mzj.shenyang.gov.cn/symz-cp/cp01001Controller.do?picStream&pic=' + params.row.CPBI015
                src: params.row.CPBI015
              },
              style: {
                marginRight: '5px',
                height: '45px'
              },
              on: {
                click: () => {
                  console.log(h)
                }
              }
            })
          }
        },
        { title: '所在区县', key: 'city_name', width: 100, align: 'center' },
        { title: '所在街道', key: 'street_name', width: 100, align: 'center' },
        { title: '所在社区', key: 'company_name', width: 100, align: 'center' },
        { title: '任职情况', key: 'CPWI006', width: 100, align: 'center' },
        { title: '社工状态', key: 'CPBI018', width: 100, align: 'center' },
        { title: '操作',
          key: 'action',
          minWidth: 250,
          align: 'center',
          render: (h, params) => {
            let temp = []
            if(params.row.examine != '12' && params.row.examine != '22' && params.row.examine != '21' && params.row.examine != '20' && this.$store.state.user.severUserInfo.company_grade < 4) {
              temp.push(
                h('Button', {
                  props: { type: 'warning', size: 'small' },
                  style: { marginRight: '5px', marginTop: '2px', marginBottom: '2px' },
                  on: {
                    click: () => {
                      // if (confirm('是否确定注销？')) {
                      //   updatePersonnelState(params.row).then(res => {
                      //     if (res.data.errcode === 0) {
                      //       this.$Notice.success({ title: '注销成功!', desc: '' })
                      //       this.init()
                      //     } else {
                      //       this.$Notice.error({ title: '注销失败!', desc: '' })
                      //     }
                      //   })
                      // }
                      this.deletePersonnel(params.row)
                    }
                  }
                }, '注销')
              )
            } else if (params.row.examine != '11'){
              temp.push(
                h('Button', {
                  props: { type: 'info', size: 'small' },
                  style: { marginRight: '5px', marginTop: '2px', marginBottom: '2px' },
                  on: {
                    click: () => {
                      this.getFlowItem(params.row.ID);
                    }
                  }
                }, '流程跟踪')
              )
            }
            // else{
            //   temp.push(
            //     h('span', {
            //       // props: { type: 'warning', size: 'small' },
            //       style: { marginRight: '5px', marginTop: '2px', marginBottom: '2px' },
            //     }, '无可用操作')
            //   )
            // }
            if (this.$store.state.user.severUserInfo.company_grade === '2' && params.row.examine == '11') {
              temp.push(
                h('Button', {
                  props: { type: 'info', size: 'small' },
                  style: { marginRight: '5px', marginTop: '2px', marginBottom: '2px' },
                  on: {
                    click: () => {
                      this.getSN(params);
                    }
                  }
                }, '市内调动')
              )
            }
            if (this.$store.state.user.severUserInfo.company_grade === '3' && params.row.examine == '11') {
              temp.push(
                h('Button', {
                  props: { type: 'info', size: 'small' },
                  style: { marginRight: '5px', marginTop: '2px', marginBottom: '2px' },
                  on: {
                    click: () => {
                      this.getQn(params);
                    }
                  }
                }, '区内调动'),
                h('Button', {
                  props: { type: 'info', size: 'small' },
                  style: { marginRight: '5px', marginTop: '2px', marginBottom: '2px' },
                  on: {
                    click: () => {
                      this.deInfo = {}
                      this.kqddModal = true
                      this.deInfo.company_code = this.$store.state.user.severUserInfo.company_code
                      this.deInfo.name = params.row.CPBI003
                      this.deInfo.pid = params.row.ID
                      this.deInfo.out_placeName = params.row.CPWI023
                      this.deInfo.out_place = this.$store.state.user.severUserInfo.company_code
                      this.deInfo.event_type = '6'
                      this.deInfo.state = '2'
                      this.deInfo.event_typeName = '跨区调动'
                      this.getMailList(2, null)
                      this.deInfo.stateName = '区审批'
                    }
                  }
                }, '跨区调动')
              )
            }
            if (this.$store.state.user.severUserInfo.company_grade === '4' && params.row.examine == '11') {
              temp.push(
                h('Button', {
                  props: { type: 'info', size: 'small' },
                  style: { marginRight: '5px', marginTop: '2px', marginBottom: '2px' },
                  on: {
                    click: () => {
                      this.getJn(params)
                    }
                  }
                }, '街道内调动'),
                h('Button', {
                  props: { type: 'info', size: 'small' },
                  style: { marginRight: '5px', marginTop: '2px', marginBottom: '2px' },
                  on: {
                    click: () => {
                      this.ddInfo = {}
                      this.kjdddModal = true
                      this.ddInfo.company_code = this.$store.state.user.severUserInfo.company_code
                      this.ddInfo.name = params.row.CPBI003
                      this.ddInfo.pid = params.row.ID
                      this.ddInfo.out_placeName = params.row.CPWI024
                      this.ddInfo.out_place = this.$store.state.user.severUserInfo.company_code
                      this.ddInfo.event_type = '3'
                      this.ddInfo.state = '1'
                      this.ddInfo.event_typeName = '跨街道调动'
                      this.ddInfo.stateName = '调入地审批'
                      this.getRegionList(this.$store.state.user.severUserInfo.parent_code, 3)
                      this.getMailList2( 4, this.$store.state.user.severUserInfo.parent_code)
                    }
                  }
                }, '跨街道调动')
              )
            }
            if (this.$store.state.user.severUserInfo.company_grade === '4' && params.row.examine == '10') {
              temp.push(
                h('Button', {
                  props: { type: 'error', size: 'small' },
                  style: { marginRight: '5px', marginTop: '2px', marginBottom: '2px' },
                  on: {
                    click: () => {
                      if (confirm('是否确定删除？')) {
                        deletePersonnelInfo(params.row).then(res => {
                          if (res.data.errcode === 0) {
                            this.$Notice.success({ title: '删除成功!', desc: '' })
                            this.init()
                          } else {
                            this.$Notice.error({ title: '删除失败!', desc: '' })
                          }
                        })
                      }
                    }
                  }
                }, '删除')
              )
            }
            return h('div', temp)
          }
        }
      ],
      columns1: [
        { title: '姓名', key: 'CPBI003', minWidth: 90, align: 'center' },
        { title: '性别', key: 'sex', width: 50, align: 'center' },
        { title: '出生日期', key: 'CPBI004', width: 100, align: 'center'},
        { title: '年龄', key: 'age', width: 60, align: 'center' },
        { title: '是否超龄', key: 'isoverage', width: 60, align: 'center' },
        { title: '身份证号', key: 'CPBI002', minWidth: 160, align: 'center' },
        { title: '民族', key: 'CPBI007', minWidth: 100, align: 'center' },
        { title: '政治面貌', key: 'CPBI008', width: 100, align: 'center' },
        { title: '联系方式', key: 'CPBI013', width: 120, align: 'center' },
        { title: '户籍地址', key: 'CPBI012', width: 200, align: 'center' },
        { title: '家庭住址', key: 'CPBI014', width: 200, align: 'center' },
        { title: '毕业院校', key: 'CPEI002', width: 200, align: 'center' },
        { title: '所学专业', key: 'CPEI003', width: 200, align: 'center' },
        { title: '最高学历', key: 'CPEI004', width: 100, align: 'center' },
        { title: '学位', key: 'CPEI005', width: 100, align: 'center' },
        { title: '毕业时间', key: 'CPEI006', width: 100, align: 'center' },
        { title: '所在区县', key: 'city_name', width: 100, align: 'center' },
        { title: '所在街道', key: 'street_name', width: 100, align: 'center' },
        { title: '所在社区', key: 'company_name', width: 100, align: 'center' },
        { title: '入职时间', key: 'CPWI001', width: 100, align: 'center' },
        { title: '社会工作师职业资格', key: 'CPWI002', width: 100, align: 'center' },
        { title: '社会工作师职业资格取得时间', key: 'CPWI003', width: 100, align: 'center' },
        { title: '任职情况', key: 'CPWI006', width: 100, align: 'center' },
        { title: '任职时间', key: 'CPWI007', width: 100, align: 'center' },
        { title: '党组织成员', key: 'CPWI011', width: 100, align: 'center' },
        { title: '居委会成员', key: 'CPWI012', width: 100, align: 'center' },
        { title: '是否取得全科社工资格', key: 'CPWI016', width: 100, align: 'center' },
        { title: '全社工资格取得时间', key: 'CPWI005', width: 100, align: 'center' },
        { title: '社工状态', key: 'CPBI018', width: 100, align: 'center' }
      ],
      familyInfoTable: [
        {
          title: '序号',
          type: 'index',
          width: 50,
          align: 'center'
        },
        {
          type: 'selection',
          width: 60,
          align: 'center'
        },
        { title: '亲属姓名(必填)', slot: 'CPFI002', minWidth: 90, align: 'center' },
        { title: '亲属关系(必填)', slot: 'CPFI003', minWidth: 90, align: 'center' },
        { title: '亲属联系方式(必填)', slot: 'CPFI004', minWidth: 150, align: 'center' },
        { title: '工作单位(必填)', slot: 'CPFI005', minWidth: 200, align: 'center' },
        { title: '政治面貌(必填)', slot: 'CPFI006', minWidth: 150, align: 'center' },
        { title: '操作', slot: 'action1', minWidth: 90, align: 'center' }
      ],
      assessmentInfoTable: [
        {
          title: '序号',
          type: 'index',
          slot: 'id',
          width: 50,
          align: 'center'
        },
        {
          type: 'selection',
          width: 60,
          align: 'center'
        },
        { title: '考核类型', slot: 'CPKI001', minWidth: 90, align: 'center' },
        { title: '考核时间', slot: 'CPKI002', minWidth: 90, align: 'center' },
        { title: '考核成绩', slot: 'CPKI003', minWidth: 90, align: 'center' },
        { title: '操作', slot: 'action1', minWidth: 90, align: 'center' }
      ],
      familyInfoList: [],
      familySelectionList: [],
      personSelectionList: [],
      assessmentInfoList: [],
      assessmentSelectionList: [],
      processlist: [],
      processColumns: [
        {
          title: '序号',
          type: 'index',
          width: 50,
          align: 'center'
        },
        { title: '流程节点', slot: 'state', minWidth: 110, align: 'center' },
        { title: '提交时间', key: 'send_time', minWidth: 120, align: 'center' },
        { title: '发起人员', key: 'send_name', minWidth: 120, align: 'center' },
        { title: '社工人员', key: 'CPBI003', minWidth: 120, align: 'center' },
        { title: '审批人员', key: 'company_name', minWidth: 130, align: 'center' },
        { title: '审批状态', slot: 'result', minWidth: 100, align: 'center' },
        { title: '审批时间', key: 'create_time', minWidth: 120, align: 'center' },
        { title: '审批意见', key: 'reason', minWidth: 220, align: 'center' }
      ]
    }
  },
  methods: {
    // exportStart () {
    //   this.$refs.export.show1(true)
    // },
    addIMG1() {
      if (confirm('是否确定重新上传？')) {
        this.fileUrlList = []
        this.judge = false
        this.addinfo.files = undefined
      }
    },
    addIMG2() {
      if (confirm('是否确定重新上传？')) {
        this.fileUrlList2 = []
        this.judge2 = false
        this.addinfo.files2 = undefined
      }
    },
    addIMG3() {
      if (confirm('是否确定重新上传？')) {
        this.fileUrlList3 = []
        this.judge3 = false
        this.addinfo.files3 = undefined
      }
    },
    getDraft() {
      let param = {
        id: this.draftID
      }
      this.addModal = true
      getDraft(param).then(res => {
        if (res.data.errcode === 0) {
          // res.data.data.salary  = parseInt(res.data.data.salary !== '' || undefined ? res.data.data.salary : 0) / 100
          this.addinfo = res.data.data
          if (res.data.data.CPBI015) {
            this.judge = true
            this.fileUrlList.push(res.data.data.CPBI015)
          } else {
            this.judge = false
          }
          if (res.data.data.CPBI016) {
            this.judge2 = true
            this.fileUrlList2.push(res.data.data.CPBI016)
          } else {
            this.judge2 = false
          }
          if (res.data.data.CPBI019) {
            this.judge3 = true
            this.fileUrlList3.push(res.data.data.CPBI019)
          } else {
            this.judge3 = false
          }
          // if (this.companyGrade === '2') {
          this.getMailList2(4,this.addinfo.CPWI023)
          this.addinfo.CPWI024 = res.data.data.CPWI024
          this.getMailList2(5,this.addinfo.CPWI024)
          // }
          // this.fileUrlList.push(res.data.data.CPBI015)
          // this.fileUrlList2.push(res.data.data.CPBI016)
          // this.fileUrlList3.push(res.data.data.CPBI019)
          this.index1 = this.fileUrlList.length - 1
          this.index2 = this.fileUrlList2.length - 1
          this.index3 = this.fileUrlList3.length - 1
          if (res.data.data.CPWI017 !== undefined) {
            this.addinfo.CPWI017 = res.data.data.CPWI017.toString().split(',')
          }
          if (res.data.data.personnel_type !== undefined) {
            this.addinfo.personnel_type = res.data.data.personnel_type.toString().split(',')
          }
          this.familyInfoList = res.data.data.familyInfoList
          this.assessmentInfoList = res.data.data.assessmentInfoList
          this.sessionInfoList = res.data.data.sessionInfoList
        } else {
          this.$Notice.error({
            title: '获取人员信息失败',
            desc: res.data.errmsg
          })
        }
      })
    },
    getDraftID() {
      getDraftID().then(res => {
        if (res.data.errcode === 0) {
          this.draft = true
          this.draftID = res.data.data.ID
        } else {
          this.draft = false
        }
      })
    },
    addDraft(){
      console.log('草稿')
      let param = {
        CPBI002: this.addinfo.CPBI002,
        CPBI003: this.addinfo.CPBI003,
        CPBI004: this.addinfo.CPBI004,
        CPBI005: this.addinfo.CPBI005,
        CPBI006: this.addinfo.CPBI006,
        CPBI007: this.addinfo.CPBI007,
        CPBI008: this.addinfo.CPBI008,
        CPBI009: this.addinfo.CPBI009,
        CPBI010: this.addinfo.CPBI010,
        CPBI011: this.addinfo.CPBI011,
        CPBI012: this.addinfo.CPBI012,
        CPBI013: this.addinfo.CPBI013,
        CPBI014: this.addinfo.CPBI014,
        salary: this.addinfo.salary,
        bankcardno: this.addinfo.bankcardno,
        CPEI002: this.addinfo.CPEI002,
        CPEI003: this.addinfo.CPEI003,
        CPEI004: this.addinfo.CPEI004,
        CPEI005: this.addinfo.CPEI005,
        CPEI006: this.addinfo.CPEI006,
        CPWI002: this.addinfo.CPWI002,
        CPWI023: this.addinfo.CPWI023,
        CPWI024: this.addinfo.CPWI024,
        CPWI025: this.addinfo.CPWI025,
        CPWI001: this.addinfo.CPWI001,
        CPWI006: this.addinfo.CPWI006,
        CPFI006aa: this.addinfo.CPFI006aa,
        CPWI008: this.addinfo.CPWI008,
        CPWI009: this.addinfo.CPWI009,
        CPWI004: this.addinfo.CPWI004,
        CPWI015: this.addinfo.CPWI015,
        CPWI016: this.addinfo.CPWI016,
        CPEI006: this.addinfo.CPEI006,
        CPWI018: this.addinfo.CPWI018,
        CPWI019: this.addinfo.CPWI019,
        CPWI020: this.addinfo.CPWI020,
        CPWI014: this.addinfo.CPWI014,
        CPWI013: this.addinfo.CPWI013,
        CPWI021: this.addinfo.CPWI021,
        CPWI011: this.addinfo.CPWI011,
        CPWI012: this.addinfo.CPWI012,
        draft: '1',
        part_time_job: this.addinfo.part_time_job,
        part_time_income: this.addinfo.part_time_income,
        financial_burden: this.addinfo.financial_burden,
        other_financial_burden: this.addinfo.other_financial_burden,
        labor_contract: this.addinfo.labor_contract,
        first_party: this.addinfo.first_party,
        other_first_party: this.addinfo.other_first_party,
        prove: this.addinfo.prove,
        other_prove: this.addinfo.other_prove
      }
      if (this.$store.state.user.severUserInfo.company_grade !== '2') {
        param.mixture_ratio = '3'
      }
      param.CP01003 = this.familyInfoList
      param.CP01006 = this.assessmentInfoList
      param.CPBI015 = this.addinfo.files
      param.salary = this.addinfo.salary
      param.CPBI016 = this.addinfo.files2
      param.CPBI019 = this.addinfo.files3
      param.CPBI017 = '0'
      // param.session = this.sessionInfoList
      if (this.addinfo.CPBI002 !== undefined) {
        param.CPBI004 = (this.addinfo.CPBI002.substr(6, 4) + '-' + this.addinfo.CPBI002.substr(10, 2) + '-' + this.addinfo.CPBI002.substr(12, 2)) // 出生日期
      }
      if (this.addinfo.CPWI017 !== undefined) {
        param.CPWI017 = this.addinfo.CPWI017.join(',')
      } else {
        param.CPWI017 = ''
      }
      if (this.addinfo.personnel_type !== undefined) {
        param.personnel_type = this.addinfo.personnel_type.join(',')
      } else {
        param.personnel_type = ''
      }
      if (this.addinfo.CPEI006 !== undefined) {
        param.CPEI006 = date2str(this.addinfo.CPEI006)
      } else {
        param.CPEI006 = ''
      }
      if (this.addinfo.CPWI003 !== undefined) {
        param.CPWI003 = date2str(this.addinfo.CPWI003)
      } else {
        param.CPWI003 = ''
      }
      if (this.addinfo.CPWI001 !== undefined) {
        param.CPWI001 = date2str(this.addinfo.CPWI001)
      } else {
        param.CPWI001 = ''
      }
      if (this.addinfo.CPWI001 !== undefined) {
        param.CPWI007 = date2str(this.addinfo.CPWI007)
      } else {
        param.CPWI007 = ''
      }
      if (this.addinfo.CPWI018 !== undefined) {
        param.CPWI018 = date2str(this.addinfo.CPWI018)
      } else {
        param.CPWI018 = ''
      }
      if (this.addinfo.CPWI020 !== undefined) {
        param.CPWI020 = date2str(this.addinfo.CPWI020)
      } else {
        param.CPWI020 = ''
      }
      if (this.addinfo.CPWI021 !== undefined) {
        param.CPWI021 = date2str(this.addinfo.CPWI021)
      } else {
        param.CPWI021 = ''
      }
      this.assessmentInfoList.forEach(function (temp, index) {
        param.CP01006[index].CPKI002 = date2str(temp.CPKI002)
      })
      let session = ''
      if (this.sessionInfoList) {
        this.sessionInfoList.forEach(function (temp, index) {
          if (session) {
            session = session + ',' + temp.id
          } else {
            session = temp.id
          }
          param.session = session
        })
      }
      createDraft(param).then(res => {
        if (res.data.errcode === 0) {
          this.$Notice.success({ title: '草稿保存成功', desc: '' })
          this.init()
        } else {
          this.$Notice.error({ title: '草稿保存失败', desc: '' })
        }
      })
    },
    selectTable (selection) {
      console.log(selection)
      this.selection = selection
    },
    getFlowItem(id) {
      this.processModal = true
      let parasm = {
        PersonnelId: id
      }
      getFlow(parasm).then(res => {
        if (res.data.errcode === 0) {
          this.processlist = res.data.data
        } else {
          this.$Notice.error({ title: '获取流程失败!', desc: '' })
        }
      })

    },
    deletePersonnel(item) {
      this.deleteModal = true
      this.deleteData = item
    },
    ok222() {
      updatePersonnelState(this.deleteData).then(res => {
       if (res.data.errcode === 0) {
         this.$Notice.success({ title: '注销成功!', desc: '' })
         this.init()
       } else {
         this.$Notice.error({ title: '注销失败!', desc: '' })
       }
      })
    },
    importExcel(){
      this.Excelloading = true
      let parasm = {
        'CPBI003': this.searchInfo.CPBI003,
        'CPBI005': this.searchInfo.CPBI005,
        'start_age': this.searchInfo.start_age,
        'end_age': this.searchInfo.end_age,
        'isoverage': this.searchInfo.isoverage,
        'CPBI002': this.searchInfo.CPBI002,
        'CPBI008': this.searchInfo.CPBI008,
        'CPBI013': this.searchInfo.CPBI013,
        'CPWI023': this.searchInfo.CPWI023,
        'CPWI024': this.searchInfo.CPWI024,
        'CPWI025': this.searchInfo.CPWI025,
        'CPWI006': this.searchInfo.CPWI006,
        'CPBI018': this.searchInfo.CPBI018
      }
      findDcPersonInfoList(parasm).then(ret=>{
          if(ret.data.errcode===0){
            this.$refs.personSelection.exportCsv({
              filename: '人员信息',
              columns:this.columns1,
              data: ret.data.data
            });
            this.Excelloading = false
          }else {
            this.$Notice.error({
              title: '导出失败！',
              desc: ret.data.errmsg
            })
          }
      })
    },
    // 区内直接审批，走前台ID
    getQn(params) {
      this.dfInfo = {}
      this.qnddModal = true
      this.row = params.row
      this.dfInfo.company_code = this.$store.state.user.severUserInfo.company_code
      this.dfInfo.name = params.row.CPBI003
      this.dfInfo.pid = params.row.ID
      this.dfInfo.out_placeName = params.row.CPWI023
      this.dfInfo.put_place = this.$store.state.user.severUserInfo.company_code
      this.dfInfo.event_type = '5'
      this.dfInfo.state = '2'
      this.dfInfo.event_typeName = '区内调动'
      this.dfInfo.stateName = '区审批'
    },

    getSN(params) {
      this.dfInfo = {}
      this.snddModal = true
      this.row = params.row
      this.deInfo.company_code = this.$store.state.user.severUserInfo.company_code
      this.deInfo.name = params.row.CPBI003
      this.deInfo.pid = params.row.ID
      this.deInfo.out_placeName = params.row.CPWI023
      this.deInfo.out_place = this.$store.state.user.severUserInfo.company_code
      this.deInfo.event_type = '7'
      this.deInfo.state = '3'
      this.deInfo.event_typeName = '市内调动'
      // this.dfInfo.stateName = '区审批'
    },
    // 区内直接审批，走前台ID
    getJn(params) {
      this.dcInfo = {}
      this.jdnddModal = true
      this.row = params.row
      this.dcInfo.company_code = this.$store.state.user.severUserInfo.company_code
      this.dcInfo.name = params.row.CPBI003
      this.dcInfo.pid = params.row.ID
      this.dcInfo.out_placeName = params.row.CPWI024
      this.dcInfo.put_place = this.$store.state.user.severUserInfo.company_code
      this.dcInfo.event_type = '4'
      this.dcInfo.state = '1'
      this.dcInfo.event_typeName = '街道内调动'
      this.dcInfo.stateName = '调入地审批'
    },
    init () {
      this.getDraftID()
      this.searchInfo.loading1 = true
      this.datalist = []
      let parasm = {
        'CPBI003': this.searchInfo.CPBI003,
        'CPBI005': this.searchInfo.CPBI005,
        'start_age': this.searchInfo.start_age,
        'end_age': this.searchInfo.end_age,
        'isoverage': this.searchInfo.isoverage,
        'CPBI002': this.searchInfo.CPBI002,
        'CPBI008': this.searchInfo.CPBI008,
        'CPBI013': this.searchInfo.CPBI013,
        'CPWI023': this.searchInfo.CPWI023,
        'CPWI024': this.searchInfo.CPWI024,
        'CPWI025': this.searchInfo.CPWI025,
        'CPWI006': this.searchInfo.CPWI006,
        'CPBI018': this.searchInfo.CPBI018,
        pageNo: 1,
        pageSize: this.searchInfo.currentPageSize,
        'mixture_ratio': this.searchInfo.mixture_ratio
      }
      if (this.searchInfo.CPBI018) {
        this.process = true
      }
      getPersonInfoList(parasm).then(ret => {
        if (ret.data.errcode === 0) {
          this.searchInfo.totalnum = ret.data.data.totalRecord
          let data = []
          ret.data.data.results.forEach(function (temp, index) {
            if (temp.isoverage === 'Y') {
              temp.isoverage = '是'
            } else {
              temp.isoverage = '否'
            }
            if (temp.CPWI023 === '1') {
              temp.city_name = '社区工作者协会'
            }
            if (temp.CPWI024 === '1') {
              temp.street_name = '社区工作者协会'
            }
            data.push(temp)
          })
          this.datalist = data
          this.searchInfo.loading1 = false
        } else {
          this.$Notice.error({
            title: '查询失败',
            desc: ret.data.errmsg
          })
        }
      })
    },
    updatePersonne () {
      let param = {
        CPBI002: this.updateinfo.CPBI002,
        CPBI003: this.updateinfo.CPBI003,
        CPBI004: this.updateinfo.CPBI004,
        CPBI005: this.updateinfo.CPBI005,
        CPBI006: this.updateinfo.CPBI006,
        CPBI007: this.updateinfo.CPBI007,
        CPBI008: this.updateinfo.CPBI008,
        CPBI009: this.updateinfo.CPBI009,
        CPBI010: this.updateinfo.CPBI010,
        CPBI011: this.updateinfo.CPBI011,
        CPBI012: this.updateinfo.CPBI012,
        CPBI013: this.updateinfo.CPBI013,
        CPBI014: this.updateinfo.CPBI014,
        salary: this.updateinfo.salary,
        bankcardno: this.updateinfo.bankcardno,
        CPEI002: this.updateinfo.CPEI002,
        CPEI003: this.updateinfo.CPEI003,
        CPEI004: this.updateinfo.CPEI004,
        CPEI005: this.updateinfo.CPEI005,
        CPEI006: this.updateinfo.CPEI006,
        CPWI002: this.updateinfo.CPWI002,
        CPWI023: this.updateinfo.CPWI023,
        CPWI024: this.updateinfo.CPWI024,
        CPWI025: this.updateinfo.CPWI025,
        CPWI001: this.updateinfo.CPWI001,
        CPWI005: date2str(this.updateinfo.CPWI005),
        CPWI006: this.updateinfo.CPWI006,
        CPFI006aa: this.updateinfo.CPFI006aa,
        CPWI008: this.updateinfo.CPWI008,
        CPWI009: this.updateinfo.CPWI009,
        CPWI011: this.updateinfo.CPWI011,
        CPWI004: this.updateinfo.CPWI004,
        CPWI015: this.updateinfo.CPWI015,
        CPWI016: this.updateinfo.CPWI016,
        CPEI006: this.updateinfo.CPEI006,
        CPWI018: this.updateinfo.CPWI018,
        CPWI019: this.updateinfo.CPWI019,
        CPWI020: this.updateinfo.CPWI020,
        CPWI014: this.updateinfo.CPWI014,
        CPWI013: this.updateinfo.CPWI013,
        CPWI021: this.updateinfo.CPWI021,
        CPWI012: this.updateinfo.CPWI012,
        ID: this.updateinfo.ID,
        part_time_job: this.updateinfo.part_time_job,
        part_time_income: this.updateinfo.part_time_income,
        financial_burden: this.updateinfo.financial_burden,
        other_financial_burden: this.updateinfo.other_financial_burden,
        labor_contract: this.updateinfo.labor_contract,
        first_party: this.updateinfo.first_party,
        other_first_party: this.updateinfo.other_first_party,
        prove: this.updateinfo.prove,
        other_prove: this.updateinfo.other_prove,
        back: this.updateinfo.back,
        back_cause: this.updateinfo.back_cause
      }
      // let param = this.updateinfo
      param.CP01003 = this.familyInfoList
      param.CP01006 = this.assessmentInfoList
      if (this.updateinfo.CPBI002 !== undefined) {
        param.CPBI004 = (this.updateinfo.CPBI002.substr(6, 4) + '-' + this.updateinfo.CPBI002.substr(10, 2) + '-' + this.updateinfo.CPBI002.substr(12, 2)) // 出生日期
      }
      if (this.updateinfo.CPWI017 !== undefined) {
        param.CPWI017 = this.updateinfo.CPWI017.join(',')
      } else {
        param.CPWI017 = ''
      }
      if (this.updateinfo.CPEI006 !== undefined) {
        param.CPEI006 = date2str(this.updateinfo.CPEI006)
      } else {
        param.CPEI006 = ''
      }
      if (this.updateinfo.CPWI003 !== undefined) {
        param.CPWI003 = date2str(this.updateinfo.CPWI003)
      } else {
        param.CPWI003 = ''
      }
      if (this.updateinfo.CPWI001 !== undefined) {
        param.CPWI001 = date2str(this.updateinfo.CPWI001)
      } else {
        param.CPWI001 = ''
      }
      if (this.updateinfo.CPWI001 !== undefined) {
        param.CPWI007 = date2str(this.updateinfo.CPWI007)
      } else {
        param.CPWI007 = ''
      }
      if (this.updateinfo.personnel_type !== undefined) {
        param.personnel_type = this.updateinfo.personnel_type.join(',')
      } else {
        param.personnel_type = ''
      }
      if (this.updateinfo.CPWI018 !== undefined) {
        param.CPWI018 = date2str(this.updateinfo.CPWI018)
      } else {
        param.CPWI018 = ''
      }
      if (this.updateinfo.CPWI020 !== undefined) {
        param.CPWI020 = date2str(this.updateinfo.CPWI020)
      } else {
        param.CPWI020 = ''
      }
      if (this.updateinfo.CPWI021 !== undefined) {
        param.CPWI021 = date2str(this.updateinfo.CPWI021)
      } else {
        param.CPWI021 = ''
      }
      this.assessmentInfoList.forEach(function (temp, index) {
        param.CP01006[index].CPKI002 = date2str(temp.CPKI002)
      })
      let session = ''
      this.sessionInfoList.forEach(function (temp, index) {
        if (session) {
          session = session + ',' + temp.id
        } else {
          session = temp.id
        }
        param.session = session
      })
      param.CPBI015 = this.addinfo.files
      param.CPBI016 = this.addinfo.files2
      param.CPBI019 = this.addinfo.files3
      updatePersonneInfo(param).then(res => {
        if (res.data.errcode === 0) {
          this.$Message.success('修改成功')
          this.fileUrlList3 = []
          this.addinfo.files3 = undefined
          this.fileUrlList2 = []
          this.addinfo.files2 = undefined
          this.fileUrlList = []
          this.addinfo.files = undefined
          this.updateinfo = {}
          this.init()
        } else {
          this.$Notice.error({
            title: '修改失败',
            desc: res.data.errmsg
          })
          this.updateModal = true
        }
      })
      this.init()
    },
    updateOk () {
      this.updatePersonne()
    },
    addOk () {
      this.addPerson()
    },
    // 跨街道调动
    kjdddOk () {
      let param = this.ddInfo
      param.operator = this.ddInfo.put_place
      param.v5 = '$'
      createTransfer(param).then(res => {
        if (res.data.errcode === 0) {
          this.$Message.success('提交成功')
          this.init();
          this.reginList[3] = []
        } else {
          this.$Notice.error({
            title: '提交失败',
            desc: res.data.errmsg
          })
        }
      })
    },
    // 街道内调入
    jdnddModalOk () {
      this.uid = this.uuid();
      let param = this.dcInfo
      param.operator = this.dcInfo.out_place
      param.out_place = this.dcInfo.out_place
      // if(this.deInfo.put_place && !this.deInfo.out_place1 && !this.deInfo.out_place2){
      //   param.out_place = this.deInfo.put_place
      //   param.level = '3'
      // }else if(this.deInfo.put_place && this.deInfo.out_place1 && !this.deInfo.out_place2){
      //   // 街道
      //   param.out_place = this.deInfo.out_place1
      //   param.level = '2'
      // }else if(this.deInfo.put_place && this.deInfo.out_place1 && this.deInfo.out_place2){
      //   // 社区
      //   param.out_place = this.deInfo.out_place2
      //   param.level = '1'
      // }
      param.results = '1'
      param.approved_by = this.company_code
      param.id = this.uid
      createTransfer(param).then(res => {
        if (res.data.errcode === 0) {
          this.$Message.success('提交成功')
          this.updatePerson('jdndd')
        } else {
          this.$Notice.error({
            title: '提交失败',
            desc: res.data.errmsg
          })
        }
      })
    },
    // 跨区调动OK
    kqddModalOk () {
      if (!this.deInfo.put_place) {
        this.$Message.warning('请选择要调入的区县')
        return
      }
      else if (!this.deInfo.out_place1) {
        this.$Message.warning('请选择要调入的街道')
        return
      }
      else if (!this.deInfo.out_place2) {
        this.$Message.warning('请选择要调入的社区')
        return
      }else {
        let param = this.deInfo
        param.operator = this.deInfo.put_place
        // param.out_place = this.deInfo.out_place2
        // 区，因为有协会
        if(this.deInfo.put_place && !this.deInfo.out_place1 && !this.deInfo.out_place2){
          param.out_place = this.deInfo.put_place
          param.level = '3'
        }else if(this.deInfo.put_place && this.deInfo.out_place1 && !this.deInfo.out_place2){
          // 街道
          param.out_place = this.deInfo.out_place1
          param.level = '2'
        }else if(this.deInfo.put_place && this.deInfo.out_place1 && this.deInfo.out_place2){
          // 社区
          param.out_place = this.deInfo.out_place2
          param.level = '1'
        }
        param.results = '1'
        param.v5 = '$'
        createTransfer(param).then(res => {
          if (res.data.errcode === 0) {
            this.$Message.success('提交成功')
            this.init();
          } else {
            this.$Notice.error({
              title: '提交失败',
              desc: res.data.errmsg
            })
          }
        })
      }
    },
    // 市内调动
    snddModalOk () {
      if (!this.deInfo.put_place) {
        this.$Message.warning('请选择要调入的区县')
        return
      }
      else if (!this.deInfo.out_place1) {
        this.$Message.warning('请选择要调入的街道')
        return
      } else if (!this.deInfo.out_place2 && this.deInfo.out_place1 != '1') {
        this.$Message.warning('请选择要调入的社区')
        return
      }else {
        let param = this.deInfo
        param.operator = this.deInfo.put_place
        this.uid = this.uuid();
        param.approved_by = this.company_code
        param.id = this.uid
        // param.out_place = this.deInfo.out_place2
        // 区，因为有协会
        if(this.deInfo.put_place && !this.deInfo.out_place1 && !this.deInfo.out_place2){
          param.out_place = this.deInfo.put_place
          param.level = '3'
        }else if(this.deInfo.put_place && this.deInfo.out_place1 && !this.deInfo.out_place2){
          // 街道
          param.out_place = this.deInfo.out_place1
          param.level = '2'
        }else if(this.deInfo.put_place && this.deInfo.out_place1 && this.deInfo.out_place2){
          // 社区
          param.out_place = this.deInfo.out_place2
          param.level = '1'
        }

        param.results = '00'
        // param.v5 = '$'
        createTransfer(param).then(res => {
          if (res.data.errcode === 0) {
            this.$Message.success('提交成功')
            this.init();
            this.updatePerson('sndd')
            this.deInfo = {}
          } else {
            this.$Notice.error({
              title: '提交失败',
              desc: res.data.errmsg
            })
          }
        })
      }
    },
    // 区内调动
    qnddModalOk () {
      this.uid = this.uuid();
      let param = this.dfInfo
      // param.operator = this.dfInfo.out_place1
      // param.out_place = this.dfInfo.out_place1
      param.level = '2'
      // if (!this.dfInfo.out_place1) {
      //   this.$Message.warning('街道不可为空，请选择街道！')
      //   return
      // }
      if (this.dfInfo.out_place1 && !this.dfInfo.out_place2) {
        param.operator = this.dfInfo.out_place1
        param.out_place = this.dfInfo.out_place1
        param.level = '2'
      }
      if (this.dfInfo.out_place1 && this.dfInfo.out_place2) {
        param.operator = this.dfInfo.out_place2
        param.out_place = this.dfInfo.out_place2
        param.level = '1'
      }
      param.results = '00'
      param.approved_by = this.company_code
      param.id = this.uid
      createTransfer(param).then(res => {
        if (res.data.errcode === 0) {
          this.$Message.success('提交成功')
          this.updatePerson('qndd')
        } else {
          this.$Notice.error({
            title: '提交失败',
            desc: res.data.errmsg
          })
        }
      })
    },
    changeList() {
      this.communityList2 = []
      let data = {
        id: this.dfInfo.out_place1
      }
      getRegionList(data).then(ret => {
        if (ret.data.errcode === 0) {
          this.communityList2 = ret.data.data
        } else {
          this.$Notice.error({
            title: '获取社区失败',
            desc: ret.data.errmsg
          })
        }
      })
    },
    // 获取区下街道
    changeList0() {
      this.communityList2 = []
      let data = {
        id: this.deInfo.put_place
      }
      getRegionList(data).then(ret => {
        if (ret.data.errcode === 0) {
          this.cityList1 = ret.data.data
        } else {
          this.$Notice.error({
            title: '获取社区失败',
            desc: ret.data.errmsg
          })
        }
      })
    },
    // 获取街道下社区
    changeList1() {
      this.communityList2 = []
      let data = {
        id: this.deInfo.out_place1
      }
      getRegionList(data).then(ret => {
        if (ret.data.errcode === 0) {
          this.cityList2 = ret.data.data
        } else {
          this.$Notice.error({
            title: '获取社区失败',
            desc: ret.data.errmsg
          })
        }
      })
    },
    // 暂时没用
    changeList2() {
      this.communityList2 = []
      let data = {
        id: this.dfInfo.out_place1
      }
      getRegionList(data).then(ret => {
        if (ret.data.errcode === 0) {
          this.cityList2 = ret.data.data
        } else {
          this.$Notice.error({
            title: '获取社区失败',
            desc: ret.data.errmsg
          })
        }
      })
    },

    // 终止审批成功后进行调用
    updatePerson(str) {
      let data = {
        id: this.uid, // UUID用于flow表
        pid: this.row.ID, // 人员ID
      }
      if(str == 'qndd' && this.dfInfo.out_place1 && !this.dfInfo.out_place2) {
        data.streets = this.dfInfo.out_place1
        data.common = '$'
      } else if(str == 'qndd' && this.dfInfo.out_place1 && this.dfInfo.out_place2) {
        data.community = this.dfInfo.out_place2
        data.common = '$'
      } else if(str == 'sndd' && this.deInfo.out_place1 && !this.deInfo.out_place2) {
        data.streets = this.deInfo.out_place1
        data.community = this.deInfo.out_place2
        data.city = this.deInfo.put_place
        data.common = '$'
      } else if(str == 'sndd' && this.deInfo.out_place1 && this.deInfo.out_place2) {
        data.community = this.deInfo.out_place2
        data.streets = this.deInfo.out_place1
        data.city = this.deInfo.put_place
        data.common = '$'
      }
      // else if(str == 'qndd' && this.deInfo.out_place) {
      //   data.city = this.deInfo.out_place
      // }
      else if(str == 'jdndd') {
        data.community = this.dcInfo.out_place
        data.common = '$'
      }
      updatePersonCompanyCode(data).then(ret => {
        if (ret.data.errcode === 0) {
          this.init()
        } else {
          this.$Notice.error({
            title: '修改人信息失败',
            desc: ret.data.errmsg
          })
        }
      })
    },
    uuid() {
      var s = []
      var hexDigits = '0123456789abcdef'
      for (var i = 0; i < 36; i++) {
        s[i] = hexDigits.substr(Math.floor(Math.random() * 0x10), 1)
      }
      s[14] = '4' // bits 12-15 of the time_hi_and_version field to 0010
      s[19] = hexDigits.substr((s[19] & 0x3) | 0x8, 1) // bits 6-7 of the clock_seq_hi_and_reserved to 01
      s[8] = s[13] = s[18] = s[23] = '-'

      var uuid = s.join("");
      return uuid.replace('-','');
    },
    addPerson () {
      let param = {
        PID: this.draftID,
        CPBI002: this.addinfo.CPBI002,
        CPBI003: this.addinfo.CPBI003,
        CPBI004: this.addinfo.CPBI004,
        CPBI005: this.addinfo.CPBI005,
        CPBI006: this.addinfo.CPBI006,
        CPBI007: this.addinfo.CPBI007,
        CPBI008: this.addinfo.CPBI008,
        CPBI009: this.addinfo.CPBI009,
        CPBI010: this.addinfo.CPBI010,
        CPBI011: this.addinfo.CPBI011,
        CPBI012: this.addinfo.CPBI012,
        CPBI013: this.addinfo.CPBI013,
        CPBI014: this.addinfo.CPBI014,
        salary: this.addinfo.salary,
        bankcardno: this.addinfo.bankcardno,
        CPEI002: this.addinfo.CPEI002,
        CPEI003: this.addinfo.CPEI003,
        CPEI004: this.addinfo.CPEI004,
        CPEI005: this.addinfo.CPEI005,
        CPEI006: this.addinfo.CPEI006,
        CPWI002: this.addinfo.CPWI002,
        CPWI003: this.addinfo.CPWI003,
        CPWI023: this.addinfo.CPWI023,
        CPWI024: this.addinfo.CPWI024,
        CPWI025: this.addinfo.CPWI025,
        CPWI001: this.addinfo.CPWI001,
        CPWI006: this.addinfo.CPWI006,
        CPFI006aa: this.addinfo.CPFI006aa,
        CPWI008: this.addinfo.CPWI008,
        CPWI009: this.addinfo.CPWI009,
        CPWI004: this.addinfo.CPWI004,
        CPWI005: date2str(this.addinfo.CPWI005),
        CPWI015: this.addinfo.CPWI015,
        CPWI016: this.addinfo.CPWI016,
        CPEI006: this.addinfo.CPEI006,
        CPWI018: this.addinfo.CPWI018,
        CPWI019: this.addinfo.CPWI019,
        CPWI020: this.addinfo.CPWI020,
        CPWI014: this.addinfo.CPWI014,
        CPWI013: this.addinfo.CPWI013,
        CPWI021: this.addinfo.CPWI021,
        CPWI011: this.addinfo.CPWI011,
        CPWI012: this.addinfo.CPWI012,
        draft: '1',
        part_time_job: this.addinfo.part_time_job,
        part_time_income: this.addinfo.part_time_income,
        financial_burden: this.addinfo.financial_burden,
        other_financial_burden: this.addinfo.other_financial_burden,
        labor_contract: this.addinfo.labor_contract,
        first_party: this.addinfo.first_party,
        other_first_party: this.addinfo.other_first_party,
        prove: this.addinfo.prove,
        other_prove: this.addinfo.other_prove,
        back: this.addinfo.back,
        back_cause: this.addinfo.back_cause
      }
      if (this.$store.state.user.severUserInfo.company_grade !== '2') {
        param.mixture_ratio = '3'
      }
      param.CP01003 = this.familyInfoList
      param.CP01006 = this.assessmentInfoList
      param.CPBI015 = this.addinfo.files
      param.salary = this.addinfo.salary
      param.CPBI016 = this.addinfo.files2
      param.CPBI019 = this.addinfo.files3
      param.CPBI017 = '0'
      param.session = this.sessionInfoList
      if (this.addinfo.CPBI002 !== undefined) {
        param.CPBI004 = (this.addinfo.CPBI002.substr(6, 4) + '-' + this.addinfo.CPBI002.substr(10, 2) + '-' + this.addinfo.CPBI002.substr(12, 2)) // 出生日期
      }
      if (this.addinfo.CPWI017 !== undefined) {
        param.CPWI017 = this.addinfo.CPWI017.join(',')
      } else {
        param.CPWI017 = ''
      }
      if (this.addinfo.personnel_type !== undefined) {
        param.personnel_type = this.addinfo.personnel_type.join(',')
      } else {
        param.personnel_type = ''
      }
      if (this.addinfo.CPEI006 !== undefined) {
        param.CPEI006 = date2str(this.addinfo.CPEI006)
      } else {
        param.CPEI006 = ''
      }
      if (this.addinfo.CPWI003 !== undefined) {
        param.CPWI003 = date2str(this.addinfo.CPWI003)
      } else {
        param.CPWI003 = ''
      }
      if (this.addinfo.CPWI001 !== undefined) {
        param.CPWI001 = date2str(this.addinfo.CPWI001)
      } else {
        param.CPWI001 = ''
      }
      if (this.addinfo.CPWI001 !== undefined) {
        param.CPWI007 = date2str(this.addinfo.CPWI007)
      } else {
        param.CPWI007 = ''
      }
      if (this.addinfo.CPWI018 !== undefined) {
        param.CPWI018 = date2str(this.addinfo.CPWI018)
      } else {
        param.CPWI018 = ''
      }
      if (this.addinfo.CPWI020 !== undefined) {
        param.CPWI020 = date2str(this.addinfo.CPWI020)
      } else {
        param.CPWI020 = ''
      }
      if (this.addinfo.CPWI021 !== undefined) {
        param.CPWI021 = date2str(this.addinfo.CPWI021)
      } else {
        param.CPWI021 = ''
      }
      this.assessmentInfoList.forEach(function (temp, index) {
        param.CP01006[index].CPKI002 = date2str(temp.CPKI002)
      })
      let session = ''
      this.sessionInfoList.forEach(function (temp, index) {
        if (session) {
          session = session + ',' + temp.id
        } else {
          session = temp.id
        }
        param.session = session
      })
      createPersonneInfo(param).then(res => {
        if (res.data.errcode === 0) {
          this.$Message.success('添加成功')
          this.init()
        } else {
          this.$Notice.error({
            title: '添加失败',
            desc: res.data.errmsg
          })
          this.addModal = true
        }
      })
    },
    deleteComplaint () {
      let param = {
        id: this.deleteInfo.row.id
      }
      deleteComplaint(param).then(res => {
        if (res.data.errcode === 0) {
          this.$Message.success('删除成功')
          this.init()
        } else {
          this.$Notice.error({
            title: '删除失败',
            desc: res.data.errmsg
          })
        }
      })
    },
    deleteOk () {
      if (this.deleteInfo.row.state !== '1') {
        this.$Notice.error({
          title: '删除失败',
          desc: '未处理的投诉不可删除'
        })
      } else {
        this.deleteComplaint()
      }
    },
    showPerson (type) {
      // this.addinfo.files = ''
      // this.addinfo.files2 = ''
      // this.addinfo.files3 = ''
      let election = this.$refs.personSelection.getSelection()
      if (this.selection.length > 1 || this.selection.length == 0) {
        this.$Notice.error({
          title: '获取人员信息失败',
          desc: '请选择一条记录'
        })
        return
      }
      if (type === 1) {
        this.showModal = true
      } else {
        this.updateModal = true
      }

      this.fileUrlList = []
      this.fileUrlList2 = []
      this.fileUrlList3 = []

      let id = this.selection[0].ID
      getPersonInfo({ id: id }).then(res => {
        if (res.data.errcode === 0) {
          // res.data.data.salary  = parseInt(res.data.data.salary !== '' || undefined ? res.data.data.salary : 0) / 100
          this.showinfo = res.data.data
          this.updateinfo = res.data.data
          if (res.data.data.CPBI015) {
            this.judge = true
            this.fileUrlList.push(res.data.data.CPBI015)
          } else {
            this.judge = false
          }
          if (res.data.data.CPBI016) {
            this.judge2 = true
            this.fileUrlList2.push(res.data.data.CPBI016)
          } else {
            this.judge2 = false
          }
          if (res.data.data.CPBI019) {
            this.judge3 = true
            this.fileUrlList3.push(res.data.data.CPBI019)
          } else {
            this.judge3 = false
          }
          // if (this.companyGrade === '2') {
            this.getMailList2(4,this.updateinfo.CPWI023)
            this.updateinfo.CPWI024 = res.data.data.CPWI024
            this.getMailList2(5,this.updateinfo.CPWI024)
            this.getMailList2(4,this.showinfo.CPWI023)
            this.showinfo.CPWI024 = res.data.data.CPWI024
            this.getMailList2(5,this.showinfo.CPWI024)
          // }
          // this.fileUrlList.push(res.data.data.CPBI015)
          // this.fileUrlList2.push(res.data.data.CPBI016)
          // this.fileUrlList3.push(res.data.data.CPBI019)
          this.index1 = this.fileUrlList.length - 1
          this.index2 = this.fileUrlList2.length - 1
          this.index3 = this.fileUrlList3.length - 1
          if (res.data.data.CPWI017 !== undefined) {
            this.showinfo.CPWI017 = res.data.data.CPWI017.toString().split(',')
            this.updateinfo.CPWI017 = res.data.data.CPWI017.toString().split(',')
          }
          if (res.data.data.personnel_type !== undefined) {
            this.showinfo.personnel_type = res.data.data.personnel_type.toString().split(',')
            this.updateinfo.personnel_type = res.data.data.personnel_type.toString().split(',')
          }
          this.familyInfoList = res.data.data.familyInfoList
          this.assessmentInfoList = res.data.data.assessmentInfoList
          this.sessionInfoList = res.data.data.sessionInfoList
        } else {
          this.$Notice.error({
            title: '获取人员信息失败',
            desc: res.data.errmsg
          })
        }
      })
    },
    addAssessment1 () {
      let temp = {
        // id: this.sessionInfoList.length,
        id: ''
      }
      this.sessionInfoList.push(temp)
    },
    delAssessment1 () {
      let index = this.sessionSelectionList
      for (let i = 0; i < index.length; i++) {
        this.sessionInfoList.splice(index[i].id - 1, 1)
      }
    },
     sessionSelection1 () {
      this.sessionSelectionList = this.$refs.sessionSelection1.getSelection()
    },
    sessionSelection2 () {
      this.sessionSelectionList = this.$refs.sessionSelection2.getSelection()
    },
    sessionSelection3 () {
      this.sessionSelectionList = this.$refs.sessionSelection3.getSelection()
    },
    confirm3 (item, index) {
      this.sessionInfoList[index] = item
      if (item.id) {
        this.$Notice.info({
          title: '保存成功',
          desc: ''
        })
      } else {
        this.$Notice.error({
          title: '届次不能为空',
          desc: ''
        })
      }
    },
    searchDatawork () {
      this.searchInfo = {}
      this.init()
    },
    changePagesize (pageSize) {
      this.searchInfo.currentPageSize = pageSize
      this.changePageNo()
    },
    changePageNo (pageNo) {
      this.searchInfo.currentPageNo = pageNo
      this.init()
    },
    addFamily () {
      let temp = {
        id: this.familyInfoList.length,
        CPFI002: '',
        CPFI003: '',
        CPFI004: '',
        CPFI005: '',
        CPFI006: ''
      }
      this.familyInfoList.push(temp)
    },
    delFamily () {
      let index = this.familySelectionList
      let list = this.familyInfoList
      for (let i = 0; i < index.length; i++) {
        // this.familyInfoList.splice(index[i].id - 1, 1)
        for (let j = 0; j < list.length; j++) {
          let family = index[i]
          if (list[j].ID === family.ID) {
            this.familyInfoList.splice(j,1)
          }
        }
      }
    },
    personSelection () {
      this.personSelectionList = this.$refs.personSelection.getSelection()
    },
    familySelection () {
      this.familySelectionList = this.$refs.familySelection.getSelection()
      console.log(this.familySelectionList, '0000')
    },
    addAssessment () {
      let temp = {
        id: this.assessmentInfoList.length,
        CPKI001: '',
        CPKI002: '',
        CPKI003: ''
      }
      this.assessmentInfoList.push(temp)
    },
    delAssessment () {
      let index = this.assessmentSelectionList
      let list = this.assessmentInfoList
      for (let i = 0; i < index.length; i++) {
        // this.assessmentInfoList.splice(index[i].id - 1, 1)
        for (let j = 0; j < list.length; j++) {
          let assessment = index[i]
          if (list[j].ID === assessment.ID) {
            this.assessmentInfoList.splice(j,1)
          }
        }
      }
    },
    assessmentSelection () {
      this.assessmentSelectionList = this.$refs.assessmentSelection.getSelection()
      console.log(this.assessmentSelectionList, '000000')
    },
    selectCommunity() {
      let data = {
        id: this.company_code
      }
      getRegionList(data).then(ret => {
        if (ret.data.errcode === 0) {
          this.communityList = ret.data.data
        } else {
          this.$Notice.error({
            title: '获取社区失败',
            desc: ret.data.errmsg
          })
        }
      })
    },
    selectStreet() {
      let data = {
        id: this.company_code
      }
      getRegionList(data).then(ret => {
        if (ret.data.errcode === 0) {
          this.streatList = ret.data.data
        } else {
          this.$Notice.error({
            title: '获取社区失败',
            desc: ret.data.errmsg
          })
        }
      })
    },
    selectCity() {
      let data = {}
      getRegionList(data).then(ret => {
        if (ret.data.errcode === 0) {
          this.cityList = ret.data.data
          this.cityList0 = ret.data.data
        } else {
          this.$Notice.error({
            title: '获取区失败',
            desc: ret.data.errmsg
          })
        }
      })
    },
    getRegionList (id, index) {
      getRegionList({ id: id }).then(res => {
        if (res.data.errcode === 0) {
          this.reginList[index] = res.data.data
          this.$forceUpdate()
        } else {
          this.$Notice.error({
            title: '获取区域列表失败',
            desc: res.data.errmsg
          })
        }
      })
    },
    getTypeName (id, index) {
      getTypeNameList({ typegroupcode: id }).then(res => {
        if (res.data.errcode === 0) {
          this.dictList[index] = res.data.data
        } else {
          this.$Notice.error({
            title: '获取字典列表失败',
            desc: res.data.errmsg
          })
        }
      })
    },
    getDictList () {
      this.getTypeName('political', 0)
      this.getTypeName('position', 1)
      this.getTypeName('cpbi018', 2)
      this.getTypeName('marriage', 3)
      this.getTypeName('nation', 4)
      this.getTypeName('incumbency', 5)
      this.getTypeName('sp_status', 6)
      this.getTypeName('degree', 7)
      this.getTypeName('academic', 8)
      this.getTypeName('lineal', 9)
      this.getTypeName('pqoswt', 10)
      this.getTypeName('train', 11)
      this.getTypeName('examType', 12)
      this.getTypeName('examresult', 13)
      this.getTypeName('cpCancel', 14)
    },
    confirm (item, index) {
      this.familyInfoList[index] = item
      if (item.CPFI002) {
        this.$Notice.info({
          title: '保存成功',
          desc: ''
        })
      } else {
        this.$Notice.error({
          title: '亲属信息不能为空',
          desc: ''
        })
      }
    },
    confirm2 (item, index) {
      this.assessmentInfoList[index] = item
      if (item.CPKI001) {
        this.$Notice.info({
          title: '保存成功',
          desc: ''
        })
      } else {
        this.$Notice.error({
          title: '考核信息不能为空',
          desc: ''
        })
      }
    },
    // 上传相关
    beforeUpload (file) {
      console.log('上传相关操作： ', file)
      var time = new Date().getTime()
      this.timeStep = time.toString()
      this.upPicData.fileName = this.timeStep + file.name
      this.upPicData.filePath = 'smz/cardm'
      let that = this
      const reader = new FileReader()
      reader.readAsDataURL(file)
      reader.onload = () => {
        let index = reader.result.indexOf('base64,') + 7
        that.upPicData.file = reader.result.substring(index)
        this.fileUrlList = []
        this.addinfo.files = undefined
        that.upPic(that.upPicData, file)
      }
      return false
    },
    // 上传图片
    upPic (obj, file) {
      var time = new Date().getTime()
      this.timeStep = time.toString()
      let param = {
        filePath: obj.filePath,
        fileName: obj.fileName,
        timestamp: this.timeStep
      }
      if (param.fileName.length > 20) {
        param.fileName = param.fileName.substring(0, 20) + file.name
      }
      getSign(param).then(res => {
        if (res.data.errcode === 0) {
          createUpLoadFiles(res.data.data.docking_url, { sign: res.data.data.sign, timestamp: this.timeStep, filePath: param.filePath, fileName: param.fileName, file: obj.file }).then(res => {
            if (res.data.errcode === 0) {
              let Url = res.data.data
              if (this.addinfo.files === undefined || this.addinfo.files.length === 0) {
                this.addinfo.files = Url
              } else {
                this.addinfo.files = this.addinfo.files + ',' + Url
              }
              if (this.updateinfo.files === undefined || this.updateinfo.files.length === 0) {
                this.updateinfo.files = Url
              } else {
                this.updateinfo.files = this.updateinfo.files + ',' + Url
              }
              this.fileUrlList.push(Url)
              this.index1 = this.fileUrlList.length - 1
              this.judge = true
            } else {
              this.$Notice.error({ title: '上传失败', desc: res.data.data.msg })
            }
          })
        } else {
          this.$Notice.error({ title: '上传失败', desc: res.data.data.msg })
        }
      })
    },
    // 上传相关
    beforeUpload2 (file) {
      console.log('上传相关操作： ', file)
      var time = new Date().getTime()
      this.timeStep = time.toString()
      this.upPicData.fileName = this.timeStep + file.name
      this.upPicData.filePath = 'smz/cardz'
      let that = this
      const reader = new FileReader()
      reader.readAsDataURL(file)
      reader.onload = () => {
        let index = reader.result.indexOf('base64,') + 7
        that.upPicData.file = reader.result.substring(index)
        this.fileUrlList2 = []
        this.addinfo.files2 = undefined
        that.upPic2(that.upPicData, file)
      }
      return false
    },
    // 上传图片
    upPic2 (obj, file) {
      var time = new Date().getTime()
      this.timeStep = time.toString()
      let param = {
        filePath: obj.filePath,
        fileName: obj.fileName,
        timestamp: this.timeStep
      }
      if (param.fileName.length > 20) {
        param.fileName = param.fileName.substring(0, 20) + file.name
      }
      getSign(param).then(res => {
        if (res.data.errcode === 0) {
          createUpLoadFiles(res.data.data.docking_url, { sign: res.data.data.sign, timestamp: this.timeStep, filePath: param.filePath, fileName: param.fileName, file: obj.file }).then(res => {
            if (res.data.errcode === 0) {
              let Url = res.data.data
              if (this.addinfo.files2 === undefined || this.addinfo.files2.length === 0) {
                this.addinfo.files2 = Url
              } else {
                this.addinfo.files2 = this.addinfo.files2 + ',' + Url
              }
              if (this.updateinfo.files2 === undefined || this.updateinfo.files2.length === 0) {
                this.updateinfo.files2 = Url
              } else {
                this.updateinfo.files2 = this.updateinfo.files2 + ',' + Url
              }
              this.fileUrlList2.push(Url)
              this.index2 = this.fileUrlList2.length - 1
              this.judge2 = true
            } else {
              this.$Notice.error({ title: '上传失败', desc: res.data.data.msg })
            }
          })
        } else {
          this.$Notice.error({ title: '上传失败', desc: res.data.data.msg })
        }
      })
    },
    // 上传相关
    beforeUpload3 (file) {
      console.log('上传相关操作： ', file)
      var time = new Date().getTime()
      this.timeStep = time.toString()
      this.upPicData.fileName = this.timeStep + file.name
      this.upPicData.filePath = 'smz/cardf'
      let that = this
      const reader = new FileReader()
      reader.readAsDataURL(file)
      reader.onload = () => {
        let index = reader.result.indexOf('base64,') + 7
        that.upPicData.file = reader.result.substring(index)
        this.fileUrlList3 = []
        this.addinfo.files3 = undefined
        that.upPic3(that.upPicData, file)
      }
      return false
    },
    // 上传图片
    upPic3 (obj, file) {
      var time = new Date().getTime()
      this.timeStep = time.toString()
      let param = {
        filePath: obj.filePath,
        fileName: obj.fileName,
        timestamp: this.timeStep
      }
      if (param.fileName.length > 20) {
        param.fileName = param.fileName.substring(0, 20) + file.name
      }
      getSign(param).then(res => {
        if (res.data.errcode === 0) {
          createUpLoadFiles(res.data.data.docking_url, { sign: res.data.data.sign, timestamp: this.timeStep, filePath: param.filePath, fileName: param.fileName, file: obj.file }).then(res => {
            if (res.data.errcode === 0) {
              let Url = res.data.data
              if (this.addinfo.files3 === undefined || this.addinfo.files3.length === 0) {
                this.addinfo.files3 = Url
              } else {
                this.addinfo.files3 = this.addinfo.files3 + ',' + Url
              }
              if (this.updateinfo.files3 === undefined || this.updateinfo.files3.length === 0) {
                this.updateinfo.files3 = Url
              } else {
                this.updateinfo.files3 = this.updateinfo.files3 + ',' + Url
              }
              this.fileUrlList3.push(Url)
              this.index3 = this.fileUrlList3.length - 1
              this.judge3 = true
            } else {
              this.$Notice.error({ title: '上传失败', desc: res.data.data.msg })
            }
          })
        } else {
          this.$Notice.error({ title: '上传失败', desc: res.data.data.msg })
        }
      })
    },
    getYearList () {
      getYearList().then(res => {
        if (res.data.errcode === 0) {
          this.sessionList = res.data.data
        }
      })
    },
    // 社区统计下拉搜索框的级联查询
    getMailList (grade, code) {
      // this.searchInfo['grade' + (index + 1)] = 0
      getOffice({ grade: grade, code: code }).then(res => {
        if (res.data.errcode === 0) {
          this.mailList1 = res.data.data
          let xiehui = {code: "1", name: "社区工作者协会", master: "社区工作者协会"}
          this.mailList1.push(xiehui)
          // this.mailList[index].unshift({ id: 0, title: '全部' })
          // this.$forceUpdate()
        } else {
          this.$Notice.error({ title: '获取信息失败', desc: '查询区域列表信息失败' })
        }
      })
    },
    getMailList2 (grade, code) {
      // this.searchInfo['grade' + (index + 1)] = 0
      getOffice({ code: code }).then(res => {
        if (res.data.errcode === 0) {
          if (grade === 4) {
            this.mailList2 = res.data.data
            let xiehui = {code: "1", name: "社区工作者协会", master: "社区工作者协会"}
            this.mailList2.push(xiehui)
          } else if (grade === 5) {
            this.mailList3 = res.data.data
          }
          // this.mailList[index].unshift({ id: 0, title: '全部' })
          // this.$forceUpdate()
        } else {
          this.$Notice.error({ title: '获取信息失败', desc: '查询区域列表信息失败' })
        }
      })
    }
  },
  async mounted () {
    await this.init()
    await this.getYearList()
    await this.getRegionList('', 0)
    // this.parent_code = this.$store.state.user.severUserInfo.parent_code
    if (this.$store.state.user.severUserInfo.company_grade === '3') {
      await this.getRegionList(this.$store.state.user.severUserInfo.company_code, 1)
    }
    if (this.$store.state.user.severUserInfo.company_grade === '4') {
      await this.getRegionList(this.$store.state.user.severUserInfo.company_code, 2)
    }
    if (this.$store.state.user.severUserInfo.company_grade === '5') {
      await this.getRegionList(this.$store.state.user.severUserInfo.company_code, 3)
    }
    // await this.getRegionList(this.$store.state.user.severUserInfo.company_code, 2)
    // await this.getRegionList(this.$store.state.user.severUserInfo.parent_code, 3)
    await this.getDictList()
    await this.selectCommunity()
    await this.selectCity()
    await this.selectStreet()
    if (this.companyGrade < 3) {
      this.getMailList(2, null)
    } else if (this.companyGrade < 4) {
      this.getMailList2(4, this.companyCode)
    } else if (this.companyGrade < 5) {
      this.getMailList2(5, this.companyCode)
    }
  },
  computed: {
    companyGrade () {
      return this.$store.state.user.severUserInfo.company_grade
    },
    companyCode () {
      return this.$store.state.user.severUserInfo.company_code
    }
  }
}
</script>
